The documents I maintain using XXE include an external entity reference to a global configuration document. Since this document is global and also changes very infrequently (and in order to meet external build system requirements), I store it centrally on a web server together with the DTD. When I work offline I use XXE's catalog support to switch to a local copy of the DTD. Unfortunately, this mechanism works for DTDs, but not for entity declarations. However, I found a workaround for this which worked in the previous release: I included a relative entity declaration for the config file in the DTD instead of an absolute declaration in the document, and everything worked fine.
However, the new external entity support in XXE 2.4 (which is in all other respects wonderful as far as I am concerned) has broken this workaround because, although it loads my documents perfectly, it doesn't realise that the external entity declaration originated in the DTD, and therefore writes it back to the document, thus overriding the original entity declaration and screwing things up. My request therefore is: is it possible to do _one_ of the following: - recognise when external entities are declared in the DTD and refrain from writing them back to the document - _or_ extend catalog support to external entity declarations with public IDs, so I don't need to use this workaround Best regards -------------- Kevin Flynn Birdstep Technology www.birdstep.com Mobile: +47 93433942 -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2412 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20030827/95808e15/attachment.bin

