Gareth Reakes <[EMAIL PROTECTED]> wrote on 02/17/2006 04:37:51 PM: > Hey, > > > > > One reason I wondered is that apparently (if the person who told me is > > correct) Xerces-J now does "validate-on-parse" internally by doing the > > validate on the DOM it built. Essentially making it "free" for them to > > expose that feature, I guess. > > > > I take it Xerces-C does *not* do this? Otherwise, it doesn't seem like it > > would be a lot of work, which leads me to believe it does not. > > No, and I did not think that Xerces-J did either. If so, then it would > not work for SAX. Michael, does Xerces-J do validation on a parsed DOM > rather than during parse for some reason now?
It's your choice. You can validate while parsing and in memory using either the JAXP 1.3 Validation API [1] or Document.normalizeDocument() [2]. > Cheers, > > Gareth > > > -- > Gareth Reakes, Managing Director Parthenon Computing > +44-1865-811184 http://www.parthcomp.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] [1] http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/validation/package-summary.html [2] http://xerces.apache.org/xerces2-j/faq-dom.html#faq-9 Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
