W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

Schema for xml:base attribute

From: <sylvain.devillers@philips.com>
Date: Wed, 9 Jan 2002 15:34:17 +0100
To: <xmlschema-dev@w3.org>
Message-ID: <OFAC44E03D.278DB853-ONC1256B3C.004FB702@diamond.philips.com>
    Hi all,

I want my schema to allow the "xml:base" attribute in the instance.
This seems similar to the issue discussed in

However, http://www.w3.org/2001/xml.xsd does not declare the
"xml:base" attribute. Is there another schema for this ?

Furthermore, I tried to add the line
    <xs:attribute name="base" type="xs:anyURI"/>

in xml.xsd, and then validate again my schema, but then XSV says:
    Error: Undeclared attribute
xml{http://www.w3.org/XML/1998/namespace}:base referenced

Is the syntax incorrect or is the xml namespace hardcoded in XSV (XSV of 2001/11/09 15:45:05) ?

Thank you,

Received on Wednesday, 9 January 2002 09:34:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:54 UTC