xi:include element recognized and resolved without declaration in the schema
----------------------------------------------------------------------------
Key: XERCESJ-1153
URL: http://issues.apache.org/jira/browse/XERCESJ-1153
Project: Xerces2-J
Type: Improvement
Components: XInclude 1.0
Versions: 2.8.0
Environment: Java 1.5.0
Windows XP SP 2
Reporter: Sorin Ristache
Priority: Minor
When the file foo.xml is parsed Xerces should recognize the include element in
the "http://www.w3.org/2001/XInclude" namespace without any declaration of that
element in the DTD or schema associated with foo.xml. The schema developer
should not be forced to declare the xi:include element in every type definition
where he wants to include other file just as he can refer external entities
without any special declaration in the type definition of the including
element. Example:
foo.xml:
<!DOCTYPE root [
<!ELEMENT root (child)>
<!ELEMENT child EMPTY>
]>
<root>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bar.xml"/>
</root>
bar.xml:
<child/>
--
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]