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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: String interning (WAS: SAX2/Java: Towards a final form)

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: xml-dev@ic.ac.uk
  • Date: 14 Jan 2000 15:38:20 -0500

Miles Sabin <msabin@cromwellmedia.co.uk> writes:

> Not just a DOM. Quite a few people are sitting SAX on top of
> all sorts of data-structures which don't necessarily make any
> interning guarantees. And don't forget database queries.

With database queries you usually already know the names and you're
querying just for the contents:

  select name, age from PersonalInfo where status = 'active'

and then

  <person>
    <name>Jane Smith</name>
    <age>27</age>
  </person>

I didn't get the "person", "name", or "age" strings out of the
database: they're hard-coded in my filter.


All the best,


David

-- 
David Megginson                 david@megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS