Login  Register

Orbeon Nightly regression: DTD entity imports no longer working

Posted by Ralf Jung on Dec 13, 2010; 9:09am
URL: https://discuss.orbeon.com/Orbeon-Nightly-regression-DTD-entity-imports-no-longer-working-tp3085139.html

Hi,

I am using Orbeon to verify a document based on a DTD, and to resolve the
entities used by it. This includes both custom entities and those pre-defined
by XHTML, which are imported like this:

<!ENTITY % HTMLlat1 SYSTEM "xhtml-lat1.ent">
%HTMLlat1;
<!ENTITY % HTMLspecial SYSTEM "xhtml-special.ent">
%HTMLspecial;
<!ENTITY % HTMLsymbol SYSTEM "xhtml-symbol.ent">
%HTMLsymbol;

The documented is imported using the url-generator with validation enabled.
This works fine in Orbeon 3.8. However, while attempting to reproduce an issue
with the current nightly, I noticed a regression: Running the same pipeline
(through the command-line) results in tons of errors like this one:

2010-12-13 09:43:20,852 INFO  org.orbeon.oxf.xml.XMLUtils  - Error:
org.xml.sax.SAXParseException; systemId:
oxf:/var/lib/tomcat6/webapps/<path>/<file>.xml; lineNumber: 17626;
columnNumber: 41; The entity "nbsp" was referenced, but not declared.

However, the entities defined directly in the DTD are resolved fine. It seems
that for some reason, importing entities does not work anymore. Is there some
configuration option to control how and where Orbeon looks for DTDs and entity
files?

Kind regards,
Ralf Jung


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws