SAX2 RFD: LexicalHandler draft v.1.1

David Megginson david at
Sun Mar 21 18:45:22 GMT 1999

uche.ogbuji at writes:

 > > >and the XML declaration?
 > > 
 > > I think this could be helpful when updating a document, the
 > > encoding in particular. (An update should make the minimum
 > > necessary changes.)
 > Is it better to just use the processing instruction event?  I know
 > it would be nice to specialize the PI parameters, but do we then
 > extend this to other PIs that come out of the XML spectrum, such as
 > style-sheet specifiers?

They're different beasties.  Any other standardised PI's are still
PI's, while the XML declaration is definitely not a processing
instruction according to the XML 1.0 REC (nor is the encoding
declaration at the beginning of an external parsed entity).

All the best,


David Megginson                 david at

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

More information about the Xml-dev mailing list