You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Kearns, Una" <un...@documentum.com> on 2001/02/12 22:01:56 UTC

RE: RESEND: Help needed on not expanding internal entity referenc es

 Hi,

Maybe I am missing something but what difference would be caused in
performance if an option/property was added to "not expand character entity
values" and then Xerces instead of building up hash array of replacement
values just wrote out the orignal entity reference?  or if required when
writing in internal entity values to stringpool just rewrote entity
reference.   

Thanks,
Una



-----Original Message-----
From: Libor Kramolis
To: xerces-j-dev@xml.apache.org
Sent: 02/12/2001 12:11 PM
Subject: Re: RESEND: Help needed on not expanding internal entity references

Arnaud Le Hors wrote:

> I must say that I don't quite understand what you're really trying to
> do. If what you're asking is for character entity references not to be
> expanded, the answer is simple: Xerces doesn't support this.
> This request keeps coming up and I guess we should try and do
something
> about it. But I don't know how to support this without any impact on
> performance...

I think it is more than bonus feature. I see that there is a lot of
users 
which want to know where is character reference used. This feature is
very 
important to tools which provide tree and textual editing of xml
documents. 
E.g. when you write some xml document (in text editor), use any tool for

manipulation with this document (action: replace, select, ...) and after

this you want to edit it in text editor again, you want see document
with 
same style (must be readable - so not replaced all ', ", <, >, & with
entity 
references etc.).

You are right ... repformance, but do you think that this problem is 
unsolvable? I don't think so. We want to help you with this.

Thanks.

Libor


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org