RE: [xml-dev] what is correct way to express a type as CDATA in XML schema

From
Wayne Steele <>
To
, ,
Date
2002-09-09T17:40:47Z
ID
<>
Thread
RE: [xml-dev] what is correct way to express a type as CDATA in XML schema
This character is just fine ("horizontal tab").
I think you're confusing it with something else.

-Wayne Steele


>From: "Dare Obasanjo" <>
>To: "Phil Fuhlman" <>,<>
>Subject: RE: [xml-dev] what is correct way to express a type as CDATA in 
>XML schema
>Date: Mon, 9 Sep 2002 10:29:16 -0700
>
>I believe 0x09 should be an invalid XML character regardless of whether it 
>is in typed as CDATA (or in a CDATA section) or not.
>
>	-----Original Message-----
>	From: Phil Fuhlman [mailto:]
>	Sent: Mon 9/9/2002 10:26 AM
>	To: Dare Obasanjo; 
>	Cc:
>	Subject: RE: [xml-dev] what is correct way to express a type as CDATA in 
>XML schema
>
>
>
>	Thanks for the idea.
>
>	I switched *from* a type derived from xsd:string to CDATA because the
>	chunk of data that goes there can have 0x09, 0x0D and 0x0A characters in
>	it.
>
>	</pff>
>
>	-----Original Message-----
>	From: Dare Obasanjo [mailto:]
>	Sent: Monday, September 09, 2002 12:21 PM
>	To: Phil Fuhlman; 
>	Subject: RE: [xml-dev] what is correct way to express a type as CDATA in
>	XML schema
>
>
>	Use xsd:string
>
>	        -----Original Message-----
>	        From: Phil Fuhlman [mailto:]
>	        Sent: Mon 9/9/2002 10:19 AM
>	        To: 
>	        Cc:
>	        Subject: [xml-dev] what is correct way to express a type as
>	CDATA in XML schema
>
>
>
>	        MSXML4 fails on following (error: " undeclared XSD type: 'CDATA'
>	"):
>
>	        <xsd:complexType name="AClass">
>	                <xsd:all>
>	                        <xsd:element name="Value" type="CDATA"
>	minOccurs="0"
>	        maxOccurs="1" />
>	                </xsd:all>
>	        </xsd:complexType>
>
>	        I checked through the schema[0-2] docs at http:\\www.w3c.org (as
>	best I
>	        could ;) ) but did not see any obvious example / discussion of
>	how to
>	        use CDATA as a 'type' in a schema. From examples I perceived
>	that CDATA
>	        might be an 'intrinsic' type, hence the above syntax, but it
>	does not
>	        work.
>
>	        Any ideas?
>
>	        </pff>
>
>
>	-----------------------------------------------------------------
>	        The xml-dev list is sponsored by XML.org <http://www.xml.org>,
>	an
>	        initiative of OASIS <http://www.oasis-open.org>
>
>	        The list archives are at http://lists.xml.org/archives/xml-dev/
>
>	        To subscribe or unsubscribe from this list use the subscription
>	        manager: <http://lists.xml.org/ob/adm.pl>
>
>
>
>
>




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com