another trang question about DTD generation
Sebastian Rahtz <[email protected]>
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
If I start with this bit of RelaxNG:
<define name="c">
<element name="c">
<ref name="content.c"/>
</element>
</define>
<define name="content.c">
<text/>
</define>
Trang generates
<!ENTITY % content.c "(#PCDATA)">
<!ELEMENT ns1:c (%content.c;)>
which parsers reject, saying eg
Error: Misplaced #PCDATA in content declaration
Is this an error in trang, or something I have to work around by hand?
Sebastian Rahtz