AW: AW: Schema validation with SAX or DOMParser? 2004-01-06 - By Bromberg, Dirk / encoway
This works fine.
Thanks
Dirk
> -----Urspr�ngliche Nachricht----- > Von: Reinhard Brandst�dter [mailto:r.brandstaedter@(protected)] > Gesendet: Montag, 5. Januar 2004 16:11 > An: xerces-j-user@(protected) > Betreff: Re: AW: Schema validation with SAX or DOMParser? > > I'm doing exactly this with: > > domparser.setProperty("http://apache.org/xml/properties/schema/external- > noNamespaceSchemaLocation", > schema); > domparser.setFeature("http://xml.org/sax/features/validation", true); > > domparser.setFeature("http://apache.org/xml/features/validation/schema", > true); > > where schema is the full path to the xsd file. > > kr, > Reinhard > > Bromberg, Dirk / encoway wrote: > > But this does only work if the xsd location is in the xml file. > > I'll validate without having the xsd attribute in my xml file! > > -- > Reinhard Brandstaedter r.brandstaedter@(protected) GPG: 0x033B81DB > - Student of Computer Science - J.K. University of Linz - > - <ICQ: 73059068> <Mobile: +43 699 12419541> - > - http://adelaide.dnsalias.net - > > --------------------------------------------------------------------- > To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) > For additional commands, e-mail: xerces-j-user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|