XML Schema: Forse use of CDATA and check for CDATA

Hello,

at the moment it is not possible to distinguish with XML Schema
between:

<book>
<title><![CDATA[A Book Title]]></title>
</book>

and

<book>
<title>A Book Title</title>
</book>


There is no way to force a user/system to use CDATA Tags to ensure a
proper transport of critical text, especially with "&" characters or
HTML code (e.g. <p>) in it.

I think it schould be possible to define a XML Schema that forces the
use of CDATA to prevent the parser of parsing complex texts or user
comments.


If you have any comments about my suggestion I would be very glad to
hear from you.

Best regards,
Juergen Birkle

_____________________________________________________________________

    Dipl. Inform. (FH) Juergen Birkle <jb@moctec.com>
_____________________________________________________________________

Received on Wednesday, 13 April 2005 00:50:29 UTC