Skip to content

Commit

Permalink
[bugfix] Add missing Node Type mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Apr 9, 2023
1 parent 0af1bb9 commit b237a56
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,8 @@ public static int nodeType2XQuery(final short nodeType) {
return Type.ATTRIBUTE;
case Node.TEXT_NODE:
return Type.TEXT;
case Node.CDATA_SECTION_NODE:
return Type.CDATA_SECTION;
case Node.PROCESSING_INSTRUCTION_NODE:
return Type.PROCESSING_INSTRUCTION;
case Node.COMMENT_NODE:
Expand Down

0 comments on commit b237a56

Please sign in to comment.