Nikhil Dinesh <[EMAIL PROTECTED]> wrote on 07/19/2004 04:22:01 PM:
> b. The second issue is with regard to symbol tables. I noticed that in
> addition to the symbol table there is a feature
> "http://xml.org/sax/features/string-interning" which is true by default.
In Xerces, this feature is effectively read-only. You cannot set it to false. The symbol table does string interning.
> Are names being put in both the symbol table and the interned table?
> There may some speed issues with this.
Only when a new identifier is added to the symbol table. The next time the symbol table sees that sequence of characters it will return the interned instance of the string instead of creating a new string.
> Is there a way to get Xerces to put the values of attributes in
> the symbol table? The way I do it now is by intercepting SAX events, but
> iterating over all the attributes is quite expensive.
There is no such feature.
> Im using the Xerces CVS build checked out early last week.
>
> Thanks,
> Nikhil
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]
- Re: Bug parsing xhtml-strict schema michael sorens
- Xerces validation and symbol table features Nikhil Dinesh
- Re: Xerces validation and symbol table featu... Michael Glavassevich
- Re: Bug parsing xhtml-strict schema Michael Glavassevich
- Re: Bug parsing xhtml-strict schema Bob Foster
- Re: Bug parsing xhtml-strict schema michael sorens
- Re: Bug parsing xhtml-strict schema Michael Glavassevich
- Re: Bug parsing xhtml-strict sc... michael sorens
- Re: Bug parsing xhtml-strict schema Bob Foster