Skip to content

Commit

Permalink
Fix bug #336 by correcting typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ndw committed Sep 19, 2022
1 parent 7f136df commit 66eaaa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/xmlcalabash/model/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ private Option readOption(Step parent, XdmNode node) {
String type = node.getAttributeValue(XProcConstants.cx_type);

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

QName oname;
Expand Down

0 comments on commit 66eaaa0

Please sign in to comment.