let's get back to work...

Stefan Haustein stefan.haustein at trantor.de
Sat Jan 22 14:10:21 GMT 2000


Hello!

I am not sure if I missed the final conclusion of the SAX2 interning
question in the flood of the browser wars messages. As far as I
remember, some people were arguing against interning that it might be a
huge overherad for filters, already getting string objects from their
source. If there has been no consensus yet, I would like to suggest
that:

1. no parser is forced to intern elment name / element prefix strings
2. a SAX2 parser can be queried if it does string interning
3. all parsers intern namespaceURIs to avoid the null.equals (...)
problem. Namespace interning
   should be cheap since an XML document normally does not contain tons
of Namespace declarations
   and should also pay off quickly since namespace URI tend to be long
strings.

Best regards

Stefan Haustein

--
SAX-based access to WBXML and WML: www.trantor.de/wbxml
XML pull parser: www.trantor.de/xml

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom at ic.ac.uk the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email at your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer to OASIS.





More information about the Xml-dev mailing list