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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] Handling internal general entities with SAX



> You could cleanly layer a syntax like "$name;" on top of any
> XML processor.  In fact, it'd be simple enough to implement
> some sort of SAX pipeline component that'd postprocess all
> attribute values and character content to substitute "$name;"
> values.  The cost would be an extra scan over most characters
> in the input data, but in terms of layering it's clean.

Why not use processing instructions instead? Isn't this the kind of
application they're supposed to be used for?

Jason.