Re: Validating against an xsd without xsdSchemaLocation

2004-04-13 Thread Gareth Reakes
Hi, > . However, in my application, I have my xsd cached in DOM form. I feel > that the regular way of validating could be speeded up if there was an > API available to parse a given XML input against a xsd in DOM form, eg > void parse(XmlCh *xml, DOMDocument *xsd); > Is there any way like this I

Validating against an xsd without xsdSchemaLocation

2004-04-13 Thread allan horgan
Hi, At the moment I validate my xml against my xsd by having my xml reference my xsd in the xsdSchemaLocation attribute as standard and using the parse method on the XercesDOMParser as follows: XercesDOMParser *parser = new XercesDOMParser; parser->setValidationScheme(XercesDOMPar