Skip to content

Commit 8fa3741

Browse files
committed
Fix bug #336 by correcting typo in error message
1 parent b0c5c80 commit 8fa3741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/xmlcalabash/model/Parser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ private Option readOption(Step parent, XdmNode node) {
877877
String type = node.getAttributeValue(XProcConstants.cx_type);
878878

879879
if (name == null) {
880-
throw XProcException.staticError(38, node, "Attribute \"name\" required on p:with-option");
880+
throw XProcException.staticError(38, node, "Attribute \"name\" required on p:option");
881881
}
882882

883883
QName oname;

0 commit comments

Comments
 (0)