You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Bojan Čekrlić <ce...@parsek.net> on 2001/02/06 10:24:08 UTC

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

Hm.
 
I'm speaking this from the top of my head, but what if you change
 
<something attribute="&dontreslove;">
 
to
 
<something attribute="&amp;dontresolve;">
 
 
That way when the parser looks at the second it will resolve it to the
first and there you go... :-)
 
Bojan

-----Original Message-----
From: Kearns, Una [mailto:una.kearns@documentum.com]
Sent: Tuesday, February 06, 2001 1:29 AM
To: Kearns, Una; ''xerces-j-dev@xml.apache.org ' '
Cc: Shah, Jignesh; Rathi, Pradeep
Subject: RESEND: Help needed on not expanding internal entity references

Importance: High



 Hi, 

Sorry for resending this but I have noticed a few other emails regarding
the same problem of not resolving entities -- and no responses.

If anyone has any idea of how to go about this -- help would be really
appreciated. 

Thanks, 
Una 


Re: RESEND: Help needed on not expanding internal entity references

Posted by Libor Kramolis <li...@netbeans.com>.
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


Re: RESEND: Help needed on not expanding internal entity references

Posted by Arnaud Le Hors <le...@us.ibm.com>.
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...
-- 
Arnaud  Le Hors - IBM Cupertino, XML Strategy Group