Re: Validation using default namespace

2005-01-17 Thread John_Greenhow
Bob, thanks very much for your insights.  It wasn't just my examples that were mixed up, but my schemas!   My apologies for spamming the list needlessly. Thanks again, Bob and Michael. Regards, John Bob Foster <[EMAIL PROTECTED]> wrote on 18/01/2005 12:19:03 AM: >  > The schema location wo

follow-up: read byte offset information

2005-01-17 Thread Xiaoming Liu
This is a follow-up of "Re: read byte offset information during xml parsing" thread. Thanks for many insight in previous discussion. As indicated previously, the major obstacle is to get "byteOffset" from "charOffset". I notice java.nio.charset.CharsetEncoder and java.nio.charset.CharsetDecoder pr

Re: Validation using default namespace

2005-01-17 Thread Bob Foster
> The schema location worked when I set it as the value of the property > "http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation";, If it worked, then the schema must have been originally defined with no targetNamespace attribute, so you must have changed the schema. Then y

Re: Validation using default namespace

2005-01-17 Thread John_Greenhow
Hi, Michael, thankyou very much for your help.  I was indeed missing the namespace part of the property.  This has fixed one error, but the second remains: Illegal XML: cvc-elt.1: Cannot find the declaration of element 'Root'. Again, it seems to me that either the schema can't be found or the