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

Schema validators expected to support xml:base?

From: Roger L. Costello <costello@mitre.org>
Date: Wed, 13 Mar 2002 09:04:02 -0500
Message-ID: <3C8F5C52.C0944400@mitre.org>
To: xmlschema-dev@w3.org
CC: costello@mitre.org, elharo@metalab.unc.edu
I was looking through the section on XML Base in Elliotte Rusty Harold's
book, XML Bible (Gold Edition). He seems to suggest that XML Schema
validators are expected to understand XML Base:

"It (xml:base) also applies to URLs found in XInclude include elements,
processing instructions, W3C Schema language schemaLocation attributes,
and more."

I did a quick look through the Structures spec and the only reference
that I found to XML Base was:

"Before this specification is finally completed, we will need to account
for any changes [XML Base] makes to the Infoset in the areas of QName
interpretation and value space and the interpretation of all aspects of
schemas involving values identified as being of type anyURI, including
in particular xsi:schemaLocation, xsi:noNamespaceSchemaLocation and
targetNamespace."

Is this saying that schema validators are expected to support xml:base,
and that I can use a relative URL in:

   - schemaLocation
   - noNamespaceSchemaLocation
   - targetNamespace

If we can use a relative URL in targetNamespace that that seems to be
contrary to something else that Elliotte says:

"The one common kind of URL that xml:base does not apply to is the
namespace URL."

One last thing to note: I did a quick check and XSV does not seem to
support xml:base (although it may be my firewall that's the problem and
not XSV).  Does anyone know of a schema validator which supports
xml:base?

/Roger
Received on Wednesday, 13 March 2002 09:04:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:29 GMT