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

Validation against schema - invalid characters?

From: Dan <crosbyd@mdctech.com>
Date: Thu, 21 Feb 2002 06:31:22 -0500 (EST)
To: <xmlschema-dev@w3.org>
Message-ID: <000901c1bacb$3865fd20$8000000a@DEVNPC3>
My XML document contains things like:

<Unit External="Te/m" Internal="Te/m" Zero="0." Scale="1." Offset="0.">Te/m :: Te/m</Unit>
<Unit External="kW/C" Internal="kW/C" Zero="0." Scale="1." Offset="0.">kW/C :: kW/C</Unit>

Vaildation against:

<xs:element name="Unit">
			<xs:extension base="xs:string">
				<xs:attribute name="Type" type="xs:string" use="optional"></xs:attribute>
				<xs:attribute name="External" type="xs:string" use="required"></xs:attribute>
				<xs:attribute name="Internal" type="xs:string" use="required"></xs:attribute>
				<xs:attribute name="Zero" type="xs:double" use="required"></xs:attribute>
				<xs:attribute name="Scale" type="xs:double" use="required"></xs:attribute>
				<xs:attribute name="Offset" type="xs:double" use="required"></xs:attribute>

using MXSXML4 fails claiming that  and  are illegal characters. If I use XML spy to do the validation, it doesn't complain. Anyone
have any idea why this happens? And what can I do to get the MSXML parser to work??
Received on Thursday, 21 February 2002 08:42:58 UTC

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