Validate included document against a DTD if specified
-----------------------------------------------------
Key: XERCESJ-1089
URL: http://issues.apache.org/jira/browse/XERCESJ-1089
Project: Xerces2-J
Type: Bug
Components: XInclude 1.0
Versions: 2.7.0
Environment: All
Reporter: George Cristian Bina
Context:
main.xml specifies main.dtd and includes fragment.xml
fragment.xml specifies fragment.dtd
Parsing main.xml with XInclude enabled and the schema feature set has the
following results:
* main.xml is validated against main.dtd
* fragment.xml is *not* validated
Comment from Michael Glavassevich on the dev list:
***
To be consistent with what occurs on the main pipeline, I suppose validation
should occur if the document being processed on the child pipeline has a
DTD and if it doesn't then no errors should be reported for it not having
a DTD grammar. Fixing this behaviour in 2.7.1 is probably doable.
***
Thanks,
George
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]