← Prev in month ← Prev in thread

NDATA section (was: RE: [xml-dev] CDATA)

From
Rodriguez, Sergio <>
To
'Karl Waclawek ' <>
Date
2003-04-02T16:16:01Z
ID
<BE9A4C7131E6D411AAE50008C72422EE010FBDC9@CZ4MAILWWW>
Thread
NDATA section (was: RE: [xml-dev] CDATA)
Mmmhh... very interesting.  Then I picture the NDATA section something like
this:

<?xml version="2.0"?>
<root>
  <![CDATA[ text ]]>
  <xml:NDATA length="12" dimensional="b">|°¬~*%_@¨¨\´#á!¬^¡?</xml:NDATA>
  <!-- The length would be in bits(b), bytes(B), kilo bytes(KB), etc. -->
</root>

Best!

-Sergio

-----Original Message-----
From: Karl Waclawek
To: 
Sent: 2/04/2003 10:02 AM
Subject: Re: [xml-dev] CDATA


> Maybe the requirement is to support NDATA.  I get a lot 
> of inquiries about stuffing jpegs, etc, inline.  When 
> I show them the limited means, I get frowns.  Perhaps 
> it is time to revisit that permathread.

One could prefix such an NDATA section with a length tag,
allowing the parser to simply ignore the next "length" bytes.
That essentially takes the NDATA section out of XML land.
Only drawback: regular text editors have problems with binary data.

Karl

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>
← Prev in month ← Prev in thread