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 Sridhar Raju Y <sr...@infy.com> on 2001/11/27 04:28:12 UTC

Hi Doubt

Hi All,
   Is there any provision to parse the XML Doc against XSD with out
using schemaLocation attribute in the instance document.
Is there any function to specify the XSD in Xerces DOM Parser.I am using
DocumentBuilder for parsing the document.
 
Thanks in Advance.
 
Sridhar.
 

Sridhar Raju.Y,
Infosys Technologies Ltd.,
Plot # E/4, Infocity, Bhubaneswar.
Ph: 91-674-320 001/050 extn 2644
Mail: sridhar_y@infy.com

 

 

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org


Re: Hi Doubt

Posted by Eric van der Vlist <vd...@dyomedea.com>.
Sridhar Raju Y wrote:

> Hi All,
>    Is there any provision to parse the XML Doc against XSD with out
> using schemaLocation attribute in the instance document.


Yes, you can specify this location using the 
"http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation
" SAX property:

(see http://xml.apache.org/xerces-j/properties.html).

Hope this helps.

Eric

-- 
See you in Orlando for XML 2001.
                                     http://www.xmlconference.net/xmlusa/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org