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 "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2005/10/23 19:57:13 UTC
[jira] Assigned: (XERCESJ-1102) Wrong value of xml:base attribute after resolving XInclude references
[ http://issues.apache.org/jira/browse/XERCESJ-1102?page=all ]
Michael Glavassevich reassigned XERCESJ-1102:
---------------------------------------------
Assign To: Michael Glavassevich
> Wrong value of xml:base attribute after resolving XInclude references
> ---------------------------------------------------------------------
>
> Key: XERCESJ-1102
> URL: http://issues.apache.org/jira/browse/XERCESJ-1102
> Project: Xerces2-J
> Type: Bug
> Components: XInclude 1.0
> Versions: 2.7.1
> Environment: J2SE 1.5.0_04
> Reporter: Sorin Ristache
> Assignee: Michael Glavassevich
> Attachments: XercesXIncludeBug.zip
>
> The value of the xml:base attribute is not computed correctly for files included with XInclude starting with nesting level 2. After resolving the XInclude references the path stored in the xml:base value should be relative to the including document, not relative to the master document.
> To reproduce the bug, unarchive the attached zip in the Xerces install directory and in that directory execute the command line
> java -cp xercesImpl.jar;xercesSamples.jar sax.Writer -xi XercesXIncludeBug\a.xml
> The document echoed in the console contains a "c" element with xml:base="b/c/c.xml". It should be xml:base="c/c.xml".
--
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