entity lookup and fallback in expat
December 8, 2006 on 10:14 am | In L10n, Mozilla | Comments OffAs there were more people talking about this than I recall, here’s the public correction on what I though would be true:
- I see no way to hook into expat to make it resolve an entity. See the XML_TOK_ENTITY_REF handling in xmlparse.c.
- We can redefine entities. I’m not exactly sure on how the brand.dtd-inclusion in the neterror overrides will like this, yet.
Does hacking the chrome protocol to concat the DTD files for all available locales sound like a good idea?
And I wonder if we can revisit the XML_ERROR_UNDEFINED_ENTITY in xmlparse.c to just notify us, so that we could whine in the error console without busting.
No Comments yet
Sorry, the comment form is closed at this time.
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^