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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]

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: xml-dev@lists.xml.org
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>




 

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

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