Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Fix for Bug#221335 (SDO - Need support for resolving external entities)

All,

Please review the fix for the following bug and provide any feedback you may have:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=221335
Bug summary:
Different xml parsers handle resolution of external entities differently, and in some cases fail out if the associated file is not a valid URL. For example, if a schema contains a DOCTYPE definition such as: <!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" ... the parser will try to resolve the entity represented by "XMLSchema.dtd". Some parsers will recognize that the file has no protocol, and prepend "file:///" and the current working directory, while others simply attempt to create a URL from the file name - which causes a MalformedUrlException. Not only do we want to be able to allow users to avoid this exception, in general it is preferable to have EntityResolution support in SDO.

Oracle
David McCann | Principal Software Engineer | TopLink Product
Oracle Corporation Canada
45 O'Connor Street, Suite 400
Ottawa, Ontario K1P 1A4
Canada
613.288.4636
613.238.2818 (fax)


Back to the top