Mike Beckerle created XERCESJ-1771:
--------------------------------------
Summary: Save location (file, line, col) information on DOM Nodes
Key: XERCESJ-1771
URL: https://issues.apache.org/jira/browse/XERCESJ-1771
Project: Xerces2-J
Issue Type: Improvement
Components: DOM (Level 3 Core)
Affects Versions: 2.12.2
Reporter: Mike Beckerle
We need a feature where the file/line/col information is attached to every DOM
node.
This will then allow Apache ws-schema to provide access to the file/line/col
for every XML Schema component.
That in turn enables our Apache Daffodil DFDL schema compiler to use ws-schema
internally to parse the DFDL Schema (which is an enhanced XML Schema), and be
able to issue precise diagnostic messages.
Without this enhancement to Xerces J, ws-schema can't give us line-info (since
it uses DOM trees), and so, Apache Daffodil can't use well, any of this nice
XML/XSD infrastructure.
This looks fairly easy to do (I started a PR on it.
[https://github.com/apache/xerces-j/pull/7,] but I'm stuck on getting it to
build and run my Junit tests.)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]