Hi, nobody has any idea?
Thanks Simon > -----Ursprüngliche Nachricht----- > Von: Westhues, Simon (LNG-MUE) [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 11. August 2005 08:17 > An: [email protected] > Betreff: org.apache.xerces.util.XMLGrammarPoolImpl and Entities > > Hi, > > i have an issue with the above mentioned GrammarPool. > > I try to validate several documents (based on the same dtd) > with a SAXParser > using a GrammarPool to speed up the whole thing. > > If the first document, which is parsed, contains Entities > (e.g. ü) it > can be validated successfully and the following documents, > too. But if the > first document doesn't contain entities, but the second or > third one does, > the error event of the content handler is raised with this message: > > The entity "uuml" was referenced, but not declared > > I can't see a reason why Xerces behaves like this. > > Attached, there are a small Java file, two test documents (one with an > entity, one without) and the DTD which the sample documents > conform to. > > I tried this with latest Xerces 2.7.1 > > Kind regards > Simon > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
