You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "George Cristian Bina (JIRA)" <xe...@xml.apache.org> on 2005/07/22 13:41:48 UTC
[jira] Created: (XERCESJ-1089) Validate included document against a DTD if specified
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Resolved: (XERCESJ-1089) Validate included document against a DTD if specified
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESJ-1089?page=all ]
Michael Glavassevich resolved XERCESJ-1089:
-------------------------------------------
Resolution: Fixed
Fixed in CVS. As discussed on the j-dev list, DTD validation is performed (only) if a DOCTYPE is present.
> 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
> Assignee: Michael Glavassevich
>
> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Assigned: (XERCESJ-1089) Validate included document against a DTD if specified
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESJ-1089?page=all ]
Michael Glavassevich reassigned XERCESJ-1089:
---------------------------------------------
Assign To: Michael Glavassevich
> 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
> Assignee: Michael Glavassevich
>
> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org