
9 Feb
2022
9 Feb
'22
10:53 p.m.
Hello Oxygen Team, The XPath evaluator returns a series of text nodes for a leaf element containing a comment or a CDATA section. That is not correct. The content is a single text node. Here is a <Test> element whose content is some text, a comment, and more text. The XPath evaluator for /Test/text() returns 2 items, which is not correct. The content of <Test> is a single text node containing all of the text concatenated. [cid:image003.png@01D81DDD.EFD2D7E0] The XPath evaluator erroneously returns 3 items when <Test> contains a CDATA section. Further, there is no such thing as cdata-section node. [cid:image004.png@01D81DDD.EFD2D7E0]