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
>> 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
[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
> 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
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