[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Newbie Question
In your schema <callMethod> is defined as: <xsd:element name="callMethod"> <xsd:complexType> <xsd:sequence> <xsd:element name="returnCode"> ... <xsd:element name="errors" minOccurs="0" > ... <xsd:element name="params"> ...but in your XML the elements are in this order: <callMethod> <returnCode>.. <params>.. <errors>.. So basically <params> and <errors> are in the wrong order - swap them around in either the XML or the schema and the sample will validate. 2008/6/2 Arun Menon <kumarmenon@y...>: > > Hi > > I was wondering if someonw could help out a noob.. For some reason my file > is not validating thru Oxygen . I have tried a bunch of different things but > it did not work. > > Does this error mean anything to you guys. > > SystemID: C:\workspace\TestXML\output.xml > Location: 45:4 > Description: cvc-complex-type.2.4.d: Invalid content was found starting with > element 'errors'. No child element is expected at this point. > URL: http://www.w3.org/TR/xmlschema-1/#cvc-complex-type > > Please see attached my xsd and xml > > Would really appreciate it what is wrong with xsd > > -Arun > > > Arun Menon > 203.796.0069 > > _______________________________________________________________________ > > XML-DEV is a publicly archived, unmoderated list hosted by OASIS > to support XML implementation and development. To minimize > spam in the archives, you must subscribe before posting. > > [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ > Or unsubscribe: xml-dev-unsubscribe@l... > subscribe: xml-dev-subscribe@l... > List archive: http://lists.xml.org/archives/xml-dev/ > List Guidelines: http://www.oasis-open.org/maillists/guidelines.php > -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|