Here is some good documentation from Sun illustrating how to configure it with JAXP (with Xerces as the parser).
 
http://java.sun.com/webservices/docs/1.0/tutorial/doc/JAXPDOM9.html#63997
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 10:32 AM
To: [EMAIL PROTECTED]
Subject: Re: registering schema locations


Thank you for the response.

The XML documents I use are generated by JAXB (Sun Java XML Binding Framework), and JAXB is aware of namespaces, but not aware of schema locations.
So the XML documents generated do not contain any schema location information.

If there is no standard way to register schema locations, does Xerces provide this facility in a proprietary way ?


Francois Banel
tel : 01 53 34 30 64
mailto:[EMAIL PROTECTED]



Joseph Kesselman <[EMAIL PROTECTED]>

19/06/2003 14:52
Please respond to xerces-j-user

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: registering schema locations







The W3C's Semantic Web folks are investigating what metadata, if any, is
implied by a namespace and how it should be retrieved and used.  Until they
report out, the official answer is that a namespace URI is only a magic
string in URI syntax. It does not imply a specific schema, and indeed may
be referenced by many schema documents. So for now, even if you can make
this work, it's going to be a unique solution for your own application and
won't work for anyone else.

What's wrong with having the document explicitly declare which schemas it
needs? It has to declare the namespaces, and if anyone knows the mapping
from one to the other it should be no harder to build that into the
document than to try to imply it afterward... and if it's in the document
you avoid having to blaze a path into uncharted and (at least for now)
nonportable terratory.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to