You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Umesh Subramanian <Um...@msdw.com> on 2001/01/04 22:58:08 UTC

schema validation and entity resolvers

All:
I would like to use the schemaLocation to specify the namespace and not
the exact location of the xsd file and let an entity resolver resolve
the namespace to its appropriate schema location . Is this possible?

<theRoot xmlns="http://foo.com/ooo"
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
    xsi:schemaLocation="http://foo.com/ooo">
  <name>Mon nom</name>
  <number>65</number>
</theRoot>

This would avoid the xml file from explicitly specifying any schema
location.

Thanks
-Umesh