[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: parsers for Palm?

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: David Brownell <david-b@p...>, XML-Dev Mailing list <xml-dev@i...>
  • Date: Tue, 29 Jun 1999 19:47:43 -0400

xml palm
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@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.