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.)

I can't help with the rest of your problems.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/

Received on Friday, 25 July 2003 04:24:14 UTC