Lists Home |
Date Index |
> I'll disagree with *all* of the syntax being handled for you. Markup is
> handled so-so on the sax parsers - but content is handled fairly
> stupidly - many many extra callbacks for little bits of text seems to be
> the rule - forcing the developer to do some relatively fancy text
> aggregation and some of his own event detection based on history.
> At least that's been my experience.
In this case, SAX reproduces the behaviour of parsers described in the
XML spec. However, you can always use a filter that will guarantee that
all characters between two pieces of markup are passed in a single event.
Robin Berjon <email@example.com>
Research Engineer, Expway
7FC0 6F5F D864 EFB8 08CE 8E74 58E6 D5DB 4889 2488