Re: Antwort: Re: Antwort: Re: external-shemaLocation ... cvc-elt.1: Cannot find the declaration of element

2008-03-03 Thread Michael Glavassevich
Well you have to change the document but that doesn't necessarily mean you need to modify the file on disk. You could possibly transform it in memory, for example with a SAX filter placed before the schema validator. It's doable using JAXP 1.3 though I can't say whether you can accomplish that thro

Antwort: Re: Antwort: Re: external-shemaLocation ... cvc-elt.1: Cannot find the declaration of element

2008-03-03 Thread juergen . kargl
>> Both the local name ("inquiry_A2") and namespace name >> ("http://www.reifen.net";) of the element need to match a declaration in the >> schema. Since you dropped the target namespace from the schema document it >> would be invalid. since I dropped the target namespace from the schema documen

Re: Antwort: Re: external-shemaLocation ... cvc-elt.1: Cannot find the declaration of element

2008-02-29 Thread Michael Glavassevich
[EMAIL PROTECTED] wrote on 02/28/2008 04:18:10 PM: > > Your schema has a target namespace (in this case "http://www.reifen.net";) > > and your instance document declares no namespaces so isn't valid with > > respect to the schema. Try adding a namespace declaration to the root > > element. > > I c

Antwort: Re: external-shemaLocation ... cvc-elt.1: Cannot find the declaration of element

2008-02-28 Thread juergen . kargl
> Your schema has a target namespace (in this case "http://www.reifen.net ") > and your instance document declares no namespaces so isn't valid with > respect to the schema. Try adding a namespace declaration to the root > element. I couldn't change the incoming xml document! I've removed the targ

Re: external-shemaLocation ... cvc-elt.1: Cannot find the declaration of element

2008-02-28 Thread Michael Glavassevich
Your schema has a target namespace (in this case "http://www.reifen.net";) and your instance document declares no namespaces so isn't valid with respect to the schema. Try adding a namespace declaration to the root element. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mai