hi,

i've got a problem concerning the use of parameter entities in a dtd of
a document i want to process with xerces-j 1.4.0 (distribution version)
and xalan-j 2.1.0 (distribution version). i already asked on the xalan
mailinglist because i thought it is a xalan problem, but i've been told
that it is a xerces problem and to ask here.

xerces error message passed through by xalan:

----

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 (using msxml 3.0 as parser)

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, at least, when i validate my document with xml spy.

what am i doing wrong?

thanks for your help in advance!

jens

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to