  | |  | registering schema locations | registering schema locations 2003-06-19 - By Francois.Banel@(protected)
Hello all,
I am trying to parse XML document using namespaces. These XML documents do not contain any shema location. Is there a mean to describe somewhere what is the mapping between namespace and schema location outside of the original XML Document ?
I tried to set an entity resolver on the parser but it is not fired by the parsing.
My workaround for now is : set the property "http://apache.org/xml/properties/schema/external-schemalocation" on the parser and list all the couples namespace/schema location but it is not flexible since it is hard-coded
Francois Banel tel : 01 53 34 30 64 mailto:Francois.Banel@(protected)
<br><font size=2 face="sans-serif">Hello all,</font> <br> <br><font size=2 face="sans-serif">I am trying to parse XML document using namespaces. These XML documents do not contain any shema location.</font> <br><font size=2 face="sans-serif">Is there a mean to describe somewhere what is the mapping between namespace and schema location outside of the original XML Document ?</font> <br> <br><font size=2 face="sans-serif">I tried to set an entity resolver on the parser but it is not fired by the parsing.</font> <br> <br><font size=2 face="sans-serif">My workaround for now is :</font> <br><font size=2 face="sans-serif">set the property "http://apache.org/xml /properties/schema/external-schemalocation" on the parser and list all the couples namespace/schema location</font> <br><font size=2 face="sans-serif">but it is not flexible since it is hard -coded<br> <br> Francois Banel<br> tel : 01 53 34 30 64<br> mailto:Francois.Banel@(protected)</font>
|
|
 |