- From: <vletrmx21@inwind.it>
- Date: Mon, 28 Jul 2003 15:32:57 +0200
- To: "xmlschema-dev" <xmlschema-dev@w3.org>
Yes, the problem was with the "anyattribute" namespace attribute for the envelope element. Now I've fixed it. Thank you. Date: Fri, 25 Jul 2003 09:24:00 +0100 From: Jeni Tennison <jeni@jenitennison.com> Message-ID: <511548083786.20030725092400@jenitennison.com> To: "vletrmx21@inwind.it" <vletrmx21@inwind.it> CC: "xmlschema-dev" <xmlschema-dev@w3.org> Subject: Re: problem referencing attributes from imported namespace Hi, > Now I only have this error: > > org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute > 'encodingStyle' is not allowed to appear in element 'SOAP:Envelope'. > > And my xml document root looks as follows: > > <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope" SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> > > I've checked the envelope schema and it seems the attribute > declaration is global. Does the element declaration for the <SOAP:Envelope> element allow it to take a SOAP:encodingStyle attribute? (Just because an attribute is declared globally doesn't mean that it's allowed on every element -- the type of the element has to allow the attribute.)
Received on Monday, 28 July 2003 09:56:25 UTC