Hi Philipp,

The XML Schema specification [1] places no requirements on processors to
support xml:base. It's not mentioned anywhere in the spec. So while Xerces
doesn't support it in its schema processor I wouldn't necessarily call it a
limitation.

Thanks.

[1] http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [email protected]
E-mail: [email protected]

Philipp Wagner <[email protected]> wrote on 04/15/2009
06:52:38 AM:

> Hi,
>
> I'm trying to validate a XML document that contains a schema reference
> with xsi:schemaLocation (a relative path). I also have xml:base="../../"
> set. Unfortunately, the schema files are not found. When I change the
> path of the schema in schemaLocation (prepend ../../ from the xml:base)
> the schema file is found.
>
> For xinclude (which I also use) xml:base works.
>
> Is this a xerces limitation or is xml:base not supported for the
> schemaLocation attribute?
>
> Philipp
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

Reply via email to