Skip to content

Commit

Permalink
Tests for non-strict case checking JSON output
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfhandl committed Jan 26, 2024
1 parent 9c250bf commit d213555
Show file tree
Hide file tree
Showing 2 changed files with 348 additions and 34 deletions.
2 changes: 1 addition & 1 deletion lib/xml2json.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ module.exports.xml2json = function (
)
) {
reportError(
`Element ${node.local}: invalid or missing XML namespace ${node.uri}`,
`Element ${node.local}: invalid or missing XML namespace: ${node.uri}`,
parser
);
return false;
Expand Down
Loading

0 comments on commit d213555

Please sign in to comment.