Add line/column information for nodes other than elements.
Requested by Radu Coravu on the saxon-help list.
"For example if a Schematron assert checks the content of a comment, we
cannot position the user to the place where the checked comment is
present but to the parent element of the comment."
#2 Updated by Michael Kay about 2 months ago
- Status changed from New to Resolved
For 9.8 I have made changes whose effect is that line and column information is maintained for elements, comments, and processing instructions on both the TinyTree and LinkedTree. For the TinyTree, the location information returned for a text node is that of the most recent node that has location information (usually the parent element); for the LinkedTree, it is always the parent element.
For the development branch I have made additional changes so that line and column information is maintained for text nodes.
Please register to edit this issue