[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    RE: KWord status
From:       Nicolas GOUTTE <nicog () snafu ! de>
Date:       2001-02-12 15:55:27
[Download RAW message or body]

Sorry, but that is not true!
CDATA sections can only have normal (roughly: printable) characters (Char 
in the XML specification). Cf. section 2.7 of the XML specifiation for the 
definition of CDATA sections and 2.2 for the defintion of Char.
So it excludes all control characters except CR, LF and TAB. However for 
true binary, you need all these control characters!
Therefore you have to encode binary data (for example in mime base64.)

Reference:
XML Specification: http://www.w3.org/TR/REC-xml (latest version)

-----Original Message-----
From:	Christian Lavoie [SMTP:clavoi14@po-box.mcgill.ca]
Sent:	Monday, February 12, 2001 4:09 PM
To:	koffice-devel@max.tat.physik.uni-tuebingen.de
Subject:	Re: KWord status

On Monday 12 February 2001 08:59, David Faure wrote:
> On Monday 12 February 2001 13:12, Nicolas GOUTTE wrote:
> > You have (greatly?) misunderstand me! I meant fully XML file. No tar!
> > XML-namespaces are used as replacement for the tar file. In *one* XML
> > file you would have the whole document with any style sheet, embeded
> > object or picture you want.
>
> XML allows to put a picture inside an XML file ??
> The QDom* classes certainly doesn't support that !

Not wanting to state the obvious, but the XML specification clearly says 
that
CDATA (or whatever that is spelt) can contain anything you feel like.

Just like postscript encodes picture files in ASCII for embedding... Or
e-mail 'embeds' PGP keys within itself.

--
Christian Lavoie
clavoi14@po-box.mcgill.ca
UIN: 947212
_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel

_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic