9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] OT: small xml parser found!
Date: Wed, 18 Feb 2004 20:43:15 +0000	[thread overview]
Message-ID: <1dac8c6094aba121c8f564e3cb3b8142@vitanuova.com> (raw)
In-Reply-To: <bWNYb.14404$pt6.3250@newssvr29.news.prodigy.com>

> Not only is it small, but I think you'll find that you need to write less
> code to use it because of it's unique API, so it's a double win!

erm, forgive me for demurring, but 1898 lines doesn't
strike me as "small", especially given that (from the source):

 * The disadvantages are
 *
 * 2. Not fully XML 1.0 compliant.
 *
 * 4. Incorrect handling of XML formatting, including entities.
 *
 * 6. No namespace support.

not to mention that the source #includes the non-existent "host.h" (i
think "ali_config.h" is intended) and non-ANSI header files,
references undefined types, and generally doesn't give the impression
of stability.

or that it doesn't appear to give any means of accessing element
attributes.

that said, it would be useful if there was a standard xml library that
someone had ported to (or written under) plan 9 that met the plan 9
interface cleanliness standards, for those times when the XML crud
can't be kicked off the doorstep.



  reply	other threads:[~2004-02-18 20:43 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-17 13:50 steve-simon
2004-02-18 18:17 ` Roger Flores
2004-02-18 20:43   ` rog [this message]
2004-02-18 20:42     ` David Tolpin
2004-02-19 15:29       ` rog
2004-02-19 15:27         ` Gorka Guardiola Múzquiz
2004-02-19 15:31           ` boyd, rounin
2004-02-19 16:14             ` Rob Pike
2004-02-19 16:16             ` Rob Pike
2004-02-19 16:18               ` David Tolpin
2004-02-19 16:20               ` boyd, rounin
2004-02-19 15:54           ` John Murdie
2004-02-19 16:14             ` C H Forsyth
2004-02-19 16:24               ` John Murdie
2004-02-19 16:17             ` David Tolpin
2004-02-20  2:36               ` boyd, rounin
2004-02-19 17:15             ` rog
2004-02-19 17:20               ` David Tolpin
2004-02-19 17:31                 ` rog
2004-02-19 17:30                   ` David Tolpin
2004-02-19 17:45                     ` rog
2004-02-19 17:39                   ` C H Forsyth
2004-02-19 15:27         ` David Tolpin
2004-02-19 10:28     ` Roger Flores
2004-02-19  9:59 plan9fans
2004-02-19 10:13 ` David Tolpin
2004-02-19 11:04 ` Dave Lukes
2004-02-19 11:41   ` matt
2004-02-19 12:36     ` Dave Lukes
2004-02-19 13:45       ` C H Forsyth
2004-02-20  8:22         ` Martin C.Atkins
2004-02-19 10:31 plan9fans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1dac8c6094aba121c8f564e3cb3b8142@vitanuova.com \
    --to=rog@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).