OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   what is correct way to express a type as CDATA in XML schema

[ Lists Home | Date Index | Thread Index ]
  • To: <xml-dev@lists.xml.org>
  • Subject: what is correct way to express a type as CDATA in XML schema
  • From: "Phil Fuhlman" <pfuhlman@Dexma.com>
  • Date: Mon, 9 Sep 2002 12:19:02 -0500
  • Thread-index: AcJYJP4Ns4mVBgdNRveXIwsZpeWt/w==
  • Thread-topic: 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>




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS