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

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

Re: Validation using default namespace

2005-01-13 Thread Michael Glavassevich
Hello John, The value of the external-schemaLocation property is a list of pairs of URIs (just like the xsi:schemaLocation attribute [1]), where the first of each pair is a target namespace and the second of each pair is a schema location hint. Did you specify the target namespace before the lo