[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 couldn't change the incoming xml document! I've removed the target > namespace "http://www.reifen.net" from the schema. Now it works. But > nevertheless thanks for your input! Do you know which will be happen > if a client send me now a xml file with a target namespace (http: > //www.reifen.net)? will it be invalid?
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. > > Thanks. > > > Michael Glavassevich > > XML Parser Development > > IBM Toronto Lab > > E-mail: [EMAIL PROTECTED] > > E-mail: [EMAIL PROTECTED] Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]