It's a namespace issue, in the XSD either set
elementFormDefault="qualified", or give the element names a prefix
(and map that prefix to the namespace)
On 26 March 2012 16:03, Leandro de Oliveira wrote:
> Hi,
>
> I don't understand why the following piece of XML is not valid to Xerces:
>
> xml
elementFormDefault="qualified" did it. Thank you again, I'd never
figure it out from that error message.
2012/3/26 Andrew Welch :
> It's a namespace issue, in the XSD either set
> elementFormDefault="qualified", or give the element names a prefix
> (and map that prefix to the namespace)
>
>
>
> On
Spoke too soon :-(
Made the following change to the sample I previously sent (renamed attribute
foo to foo2):
diff --git a/cta-choose/sample2.xml b/cta-choose/sample2.xml
index f257a92..4607184 100644
--- a/cta-choose/sample2.xml
+++ b/cta-choose/sample2.xml
@@ -1,6 +1,6 @@
http://docs.rackspa
Yeah, that is one of our poorer error messages. We've been improving [1]
it.
Thanks.
[1] http://issues.apache.org/jira/browse/XERCESJ-1486
Michael Glavassevich
XML Technologies and WAS Development
IBM Toronto Lab
E-mail: mrgla...@ca.ibm.com
E-mail: mrgla...@apache.org
Leandro de Oliveira wrot