xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Wolfgang Hoschek <whoschek AT lbl.gov>
- To: norwoods <norwoods AT gbronline.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] QName flyweights
- Date: Mon, 13 Jun 2005 12:52:04 -0700
I have no idea what you're trying to achieve with all those trials beyond what I proposed.
Also you seem to ignore lexical and semantic XML QName checking. If you take that into account then QName, the cache, and its usage should be separted rather than intermingled. The last thing anyone wants is to get() a QName from a cache that does not conform to the XML spec (since it has been put() into the cache before checking it). Also note that QName.intern() and the lexical checks are not always necessary, for example consider Element.build() as called from a NonVerifyingXOMHandler.
Wolfgang.
On Jun 13, 2005, at 12:27 PM, norwoods wrote:
here is another attempt at a cache. this uses an LRUCache. it can return a QName object with the methods qName=QName3.newQName(name, uri); or qName=QName3.newQName(QName3.qualifyName(prefix, localName), uri);
-
Re: [XOM-interest] QName flyweights
, (continued)
- Re: [XOM-interest] QName flyweights, Elliotte Harold, 06/09/2005
-
Re: [XOM-interest] QName flyweights,
norwoods, 06/09/2005
-
Re: [XOM-interest] QName flyweights,
Wolfgang Hoschek, 06/09/2005
- Re: [XOM-interest] QName flyweights, Wolfgang Hoschek, 06/09/2005
-
Re: [XOM-interest] QName flyweights,
Metalab, 06/09/2005
-
Re: [XOM-interest] QName flyweights,
Mik Lernout, 06/10/2005
-
Re: [XOM-interest] QName flyweights,
Wolfgang Hoschek, 06/10/2005
-
Re: [XOM-interest] QName flyweights,
Wolfgang Hoschek, 06/10/2005
- Re: [XOM-interest] QName flyweights, norwoods, 06/13/2005
- Re: [XOM-interest] QName flyweights, norwoods, 06/13/2005
- Re: [XOM-interest] QName flyweights, Wolfgang Hoschek, 06/13/2005
- Message not available
- Re: [XOM-interest] QName flyweights, Wolfgang Hoschek, 06/13/2005
-
Re: [XOM-interest] QName flyweights,
Wolfgang Hoschek, 06/10/2005
-
Re: [XOM-interest] QName flyweights,
Wolfgang Hoschek, 06/10/2005
-
Re: [XOM-interest] QName flyweights,
Mik Lernout, 06/10/2005
-
Re: [XOM-interest] QName flyweights,
Wolfgang Hoschek, 06/09/2005
- Re: [XOM-interest] QName flyweights, norwoods, 06/10/2005
Archive powered by MHonArc 2.6.24.