hi,
i've got a problem concerning the use of parameter entities in a dtd of
a document i want to process with xalan-j 2.1.0 (distribution version).
the problem occured with xalan-j 2.0.1 (version distributed with fop
0.17), too.
xalan error message:
----
H:\test>java org.apache.xalan.xslt.Process -IN umsetzung.mdl -XSL
html.xsl -OUT
test.html
XSLT Error (javax.xml.transform.TransformerException): A '(' character
or an ele
ment type is required in the declaration of element type
"lsf:Properties".
----
this is the dtd part where lsf:properties is defined:
----
<!ELEMENT lsf:Properties ((%resource-properties;) |
(%systemchannel-properties;) | (%model-properties;) |
(%agency-properties;) | (%channel-properties;) | (%fragment-properties;)
| (%edge-properties;))>
----
the parameter entities are properly declared previously. each parameter
entity contains a list of elements that are also properly declared.
there is no problem when i validate my xml document against the dtd in
xml spy nor is there a xerces error message either.
it did work with xalan-j 2.0.1, though.
the problem emerged when i modularized my dtd in several handy parts.
the parts are composed in a kind of main dtd in which all dtd modules
are imported as external entities. the order of the external entities in
the main dtd is ok, otherwise i would get errors before xalan has a
chance to do anything.
what am i doing wrong?
sorry for my poor english and thanks for your help in advance!
jens