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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: parsers for Palm?

[ Lists Home | Date Index | Thread Index ]
  • From: "Simon St.Laurent" <simonstl@simonstl.com>
  • To: David Brownell <david-b@pacbell.net>, XML-Dev Mailing list <xml-dev@ic.ac.uk>
  • Date: Tue, 29 Jun 1999 19:47:43 -0400

At 01:57 PM 6/28/99 -0700, David Brownell wrote:
>Speaking of parsers, and perhaps committing a brand of sacrilege
>here (almost certainly so from the SGML side of the world) ...
>
>... what do folk think of using the following XML subset:
>
>	Everything in XML, except the <!DOCTYPE ...> support
>	which takes up something like 2/3 of most parsers.
>
>Clearly that'd be subset for which validation doesn't apply;
>all data integrity would be provided by higher levels.
>
>BUT -- it'd be a subset that'd work nicely with all conformant
>XML parsers (validating and non), it'd support namespaces and
>all the schema proposals I last heard of, and there should be
>no issue of size for most environments.

I can think of two ways to do this, each of which might be appropriate in a
different situation.  (Both could read the same profile of XML with no
problems as well.)

1) A 'parser' that just reads the document and spits out events without
attempting to interpret them.  It might be smart enough to identify
document parts (like DOCTYPE, or identifying &entity; as an entity), but
wouldn't check the structure at all.  It would just read with no concern
for the structure of what it read.

2) A parser that only read a canonical form of XML, 100% normalized, with
no DOCTYPE information to create entities or specify defaults.

Both are interesting projects.  1 would let higher levels of the app fill
in the gaps, while 2 would be more limiting, though 2 might feel more in
the spirit of XML.

Simon St.Laurent
XML: A Primer / Building XML Applications
Inside XML DTDs: Scientific and Technical
Sharing Bandwidth / Cookies
http://www.simonstl.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

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

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