W3C home > Mailing lists > Public > public-sml@w3.org > October 2007

[Bug 5171] Confusing and contradicting sections on resolving inter-document references

From: <bugzilla@wiggum.w3.org>
Date: Tue, 09 Oct 2007 21:05:55 +0000
CC:
To: public-sml@w3.org
Message-Id: <E1IfMH5-0007lz-1U@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5171





------- Comment #1 from popescu@ca.ibm.com  2007-10-09 21:05 -------
Sample 
A sample fragment which after normalization can be equivalent with a document
alias other then the one containing the fragment ( and as a result, the
fragment can be an inter-document reference pointing to a different document):

<?xml version="1.0" encoding="UTF-8"?>
<model xml:base="http://www.sample/a/">
<instances>
   <document>
     <docInfo>
       <aliases>
         <alias>b/instance1.xml</alias>
       </aliases>
     </docInfo>
     <data>
       <Courses xml:base=c/instance1.xml>
...
                <sml:uri>#xpointer()</sml:uri>

       </Courses>
     </data>
   </document>
   <document>
     <docInfo>
       <aliases>
         <alias>c/instance1.xml</alias>
       </aliases>
     </docInfo>
   </document>
 </instances>
</model>

document 1 alias after baseURI normalization : 
http://www.sample/a/b/instance1.xml
document 2 alias after baseURI normalization : 
http://www.sample/a/c/instance1.xml

fragment in doc 1 after baseURI normalization : 
http://www.sample/a/c/instance1.xml#xpointer(...)  << this is equivalent with
doc 2 alias
Received on Tuesday, 9 October 2007 21:06:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:24:23 UTC