- From: Jaikrishnan Pillai <jaikrishnan.pillai@vordel.com>
- Date: Fri, 12 Jul 2002 14:27:46 +0100
- To: <xmlschema-dev@w3.org>
- Message-ID: <DHEDINNJHMODMNHMIKKGGEPHCAAA.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 a schema 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 state element. Can somebody tell me how I can do this.. I am new to schema so pls do help me Thankx in advance. 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
Attachments
- application/octet-stream attachment: ibm_app2.xsd
- application/octet-stream attachment: ibm.xsd
Received on Friday, 12 July 2002 09:27:44 UTC