W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

Allow CDATA sections in strings

From: Ashok Malhotra <petsa@us.ibm.com>
Date: Thu, 25 Jan 2001 14:15:38 -0500
To: XML Schema Comments <www-xml-schema-comments@w3.org>
Cc: "Francisco Curbera" <curbera@us.ibm.com>
Message-ID: <OF743944D8.797D546F-ON852569DF.006935B0@pok.ibm.com>
Paco Curbera who is using schema in interesting ways asked my whether
XML CDATA sections could be included within values declared as xsd:string?
And can markup be included in the content of something declared as string?
My answer was that you could put anything within strings.  The content
not be interpreted or validated (except that < and & are not alloed and
be coded as &lt; and &amp; )

Is this correct?

Some of the confusion arose because of our inappropriately named datatype
formerly known as CDATA.  I told him we had voted to rename it.

All the best, Ashok
Received on Thursday, 25 January 2001 14:16:19 UTC

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