Re: Without DTD Mapping
LexEv currently will still try and fail to resolve the entity... but that would be a useful feature to add...
IMHO Andrews code falls into that area which is entering the 'xml processor', i.e. it is trapping a potential error in the same way that a parser is (when parsing with a DTD to resolve the entities).
Worth pointing out that the document is strictly non-conformant, though a worthwhile transform option since it comes up so often.
Andrew, what would you do when trapping entity events from an instance that has a DTD? Do the sax events precede the parsers resolution using the DTD or follow it?
-- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format