Indeed, I should have looked first . This describes exactly the same issue.
DTD caching becomes rather wortless with this bug.
Strange that it is only reported until now

Thanx
Dick Deneer




Op 20-okt-2006, om 19:16 heeft Michael Glavassevich het volgende geschreven:

Dick Deneer <[EMAIL PROTECTED]> wrote on 10/20/2006
09:05:02 AM:

When using a grammarpool the Saxparser will fail to resolve
externalentities.
As soon as the grammar is cached the problem occurs.
For my program it is essential that the grammar is cached because of
performance issues.

Someone else recently ran into this problem and opened a JIRA [1] issue.

Another, but less important, problem comes when caching is on and
you are editing a xml document with embedded DTD.
Making changes in the internal subset become  inconsistent with the
validation. But this can easily be avoided by turning off the
grammarpool feature.

This is a design limitation. If a cached DTD grammar is found the
declarations in the internal subset are ignored.

Regards
Dick Deneer

[1] http://issues.apache.org/jira/browse/XERCESJ-1205

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to