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: mrgla...@ca.ibm.com
E-mail: mrgla...@apache.org

Philipp Wagner <philipp.wag...@med.uni-muenchen.de> 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: j-users-unsubscr...@xerces.apache.org
> For additional commands, e-mail: j-users-h...@xerces.apache.org
>

Reply via email to