Re: Parsing XML file using XSD validation

2005-07-19 Thread Michael Glavassevich
Hi Anthony, You've enabled both schema [1] and DTD [2] validation. Since your document doesn't contain a DOCTYPE, I assume you didn't want to turn on DTD validation. You can fix this by removing documentBuilderFactory.setValidating(true) from your code. Thanks. [1] http://xml.apache.org/xerc

Parsing XML file using XSD validation

2005-07-19 Thread Anthony N. Frasso
Hello, and thanks in advance for all of your help. I am currently using Xerces (for Java) version 2.7 with the J2SE 1.4.2 on Mac OS X version 10.3. I am attempting to parse an XML file while validating it against an XSD. Here is my code to parse the XML file: SchemaFactory schemaFactory =

Re: when might xpointer() scheme be supported?

2005-07-19 Thread Michael Glavassevich
Hi Andrew, Xerces' XInclude processor is a streaming implementation so cannot handle non-causal XPath axes. With the existing XInclude processor, the xpointer() scheme could only be partially implemented. There are currently no plans to support it. Thanks. "Andrew Ferguson" <[EMAIL PROTECTED]

when might xpointer() scheme be supported?

2005-07-19 Thread Andrew Ferguson
Title: Message hi,    i've not been able to find out the answer to this question since first posting it - does anyone have any idea if this feature is planned?   any help appreciated, thanks, Andrew From: Andrew Ferguson [mailto:[EMAIL PROTECTED] Sent: 08 July 2005 18:54To: j-users@xerces.