W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2002

xsd:string not validly derived

From: Jaikrishnan Pillai <jaikrishnan.pillai@vordel.com>
Date: Fri, 12 Jul 2002 07:11:33 -0400 (EDT)
To: <xmlschema-dev@w3.org>
Message-ID: <DHEDINNJHMODMNHMIKKGOEPECAAA.jaikrishnan.pillai@vordel.com>
Hi,
I am validating the schema using xerces.The xml I have is

<?xml version='1.0' encoding='UTF-8'?>
<ns1:getCities
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns1="http://tempuri.org/forecast.WeatherForecast"
SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml">
<state xsi:type="xsd:string"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">hh</state
>
</ns1:getCities>
and I want to generate the xsd for the same


My xsd files are attached.I get an error xsd:string not validly derived.
I beleive it is due to the type attribute.
Now alternatively I used

 <xsd:simpleType>
   <xsd:union memberTypes='xsd:string'/>
   </xsd:simpleType>

and it worked but not with the encoding attribute in the satet element.
Can somebody tell me how I can do this..
Thankx in advance.
Please do cc me also  as I am not in the list..
Cheers,
JK


Jaikrishnan R Pillai
Vordel
Web services security
www.vordel.com

Main Tel: +353 1 215 3333
Direct: +353 1 215 3312
mailto:jk@vordel.com

Vordel offers early access to XML Security product for next-generation
partner
integration
http://www.vordel.com/news/press/02_06_18.html

Early Access Availability of VordelSecure XML Security Product
http://xml.coverpages.org/ni2002-06-18-a.html





Received on Monday, 15 July 2002 13:42:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:57 UTC