- From: Green, Paul M. <Paul.M.Green@FMR.com>
- Date: Wed, 26 Feb 2003 14:57:20 -0500
- To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Could someone tell me what I'm doing wrong? I've got the following schema and XML files. When WSAD tries to validate the XML I get the error message below. Thanks, Paul M Green client.xsd ---------- <?xml version="1.0" encoding="UTF-8"?> <xsd:schema targetNamespace="http://app.co.com/ns/client" xmlns="http://app.co.com/ns/client" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > <xsd:element name="routingData"> <xsd:complexType> <xsd:sequence> <xsd:element name="clientApplication" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> client.xml ---------- <?xml version="1.0" encoding="UTF-8"?> <routingData xmlns="http://app.co.com/ns/client" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://app.co.com/ns/client client.xsd" > <clientApplication/> </routingData> WSAD 5 Error Message -------------------- cvc-complex-type.2.4.a: Invalid content starting with element clientApplication'. The content must match '("":clientApplication)'.
Received on Wednesday, 26 February 2003 14:59:32 UTC