W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > June 2003

Re: base attributes and Schema Validation

From: Daniel Veillard <daniel@veillard.com>
Date: Fri, 13 Jun 2003 01:57:38 +0200
To: Jonathan Marsh <jmarsh@microsoft.com>
Cc: Peter McCracken <peterjm@ca.ibm.com>, www-xml-xinclude-comments@w3.org
Message-ID: <20030612235738.GC12271@daniel.veillard.com>

On Thu, Jun 12, 2003 at 04:48:46PM -0700, Jonathan Marsh wrote:
> I haven't heard that problem before, and it concerns me.
> XInclude adds xml:base attributes so that the [base URI] property and
> any xml:base attributes stay in sync.  However, this could be considered
> the job of the serializer rather than XInclude, which already has to
> account for the possibility of [base URI] changes even if no xml:base
> attributes are present.
> Perhaps there should be a processor option for turning off the automatic
> insertion of xml:base attributes.
> Or maybe this is just a clue that schema writers should make allowances
> for xml:base attributes, which might be added by XInclude, or by [base
> URI]-aware serializers.

Already faced by the DocBook community as people started using libxml2
XInclude support:

As a result they are adding the xml:base attribute to the set of
default attributes allowed.


Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | 
Received on Thursday, 12 June 2003 19:57:46 UTC

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