Re: [xml] cdata problem



On Tue, Aug 16, 2005 at 04:30:30PM +0200, Stephane Pellegrino wrote:
I though I could write any kinf of characters in CDATA section !?

  Answer is a clear and resounding no:

    http://www.w3.org/TR/REC-xml/#sec-cdata-sect
    [20]        CData      ::=          (Char* - (Char* ']]>' Char*))
    http://www.w3.org/TR/REC-xml/#NT-Char
    [2]         Char       ::=          #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]