Lists Home |
Date Index |
- From: "Rick Jelliffe" <firstname.lastname@example.org>
- To: "Michael Emmel" <email@example.com>, <firstname.lastname@example.org>
- Date: Tue, 24 Feb 1998 04:19:52 +1100
From: Michael Emmel <email@example.com>
>This says to me that binary data is required to either be encoded to ascii
>be included, or have Mime type boundries for XML tags with binary data
> not containing the mime boundries included.
>In the document or be obtained from a ascii normalized external URI link.
Binary data can only be included in a parseable entity if it is first
in some way which
1) does not contain delimiters which may cause false triggering
2) does not contain any characters which the XML "SGML declaration"
says are unused (or shunned).
Base64 is one such encoding. Other encodings may be more efficient
if you have a 16-bit data stream.
The way to signal you are using an encoding is to use an element
with a notation attribute.
If you embed binary data with MIME type boundaries, you no longer
have a parseable XML entity, you have a MIME multipart file which
can be processed to generate an XML entity.
>There is no way to tell a XML arser to skip x number of arbitrary bytes of
>embedded unparsed entity data which is consumed by the "application" and
>restart the parser
>at the next valid section.
An XML parser is not interested in the contents of a non-XML-parseable
entity. Indexing into binary data is either done before the parser (i.e. by
embedding the appropriate instructions in the system identifier of the
entity) or by the application after the parser.
>Am I wrong ???
What do you mean "restart the parser"? Parsing continues after an entity
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)