W3C home > Mailing lists > Public > www-xml-linking-comments@w3.org > July to September 2000

Re: XML Base comment

From: Martin J. Duerst <duerst@w3.org>
Date: Sat, 29 Jul 2000 07:59:46 +0900
Message-Id: <4.2.0.58.J.20000728183009.02935ed0@sh.w3.mag.keio.ac.jp>
To: "John Boyer" <jboyer@PureEdge.com>, "Www-Xml-Linking-Comments@W3. Org" <www-xml-linking-comments@w3.org>
Cc: "XML DSig" <w3c-ietf-xmldsig@w3.org>, connolly@w3.org
At 00/07/26 12:03 -0700, John Boyer wrote:
>I realize this is after the last call period, but the matter was brought 
>to my attention after the last call period for XML base.

The issue itself is known. But I'm glad to see that you found it yourself.

>XML base is restricted from applying to external entities.  However, when 
>you c14n a document, the external entity content is brought into the 
>document, so xml:base will apply to it.
>
>Right now, I have language in c14n that propagates xml:base to descendant 
>elements in the case of document subsets, but the problem above occurs 
>even when one does a c14n of the whole document.
>
>I think c14n is doing the right thing in that it is consistent with what 
>xml:base should do:  the entities are no longer external, so xml:base 
>attributes from ancestors should apply to them.  It think the problem is 
>that the meaning of the content is changed based on where we get it from.
>
>We have no way of retaining information on content derived from external 
>entities.  In particular, the feature seems to contradict the language of 
>section 4.4.2 of XML 1.0:
>
>"An entity is included when its 
><http://www.w3.org/TR/1998/REC-xml-19980210#dt-repltext>replacement text 
>is retrieved and processed, in place of the reference itself, as though it 
>were part of the document at the location the reference was recognized. "
>
>Since the replacement text should be treated 'as though it were part of 
>the document', we should not introduce an attribute into the xml namespace 
>that violates this concept.

Thank you for finding this text. I wasn't aware of it.


Regards,   Martin.
Received on Friday, 28 July 2000 18:56:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:39:40 GMT