[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Problem with Entity parameter
- From: "Rita Shen" <shaledova@gmail.com>
- To: xml-dev@lists.xml.org
- Date: Mon, 25 Jun 2007 16:40:17 +1000
Hi,
I got a problem with converting SGML DTD to XML DTD. In the converted XML DTD, I have the below entity definition:
<!ENTITY % MyText "#PCDATA">
In the element Graph,
<!ELEMENT Graph ((%MyText;)*, (n, (%MyText;)*)?, (img, (%MyText;)
But this XML DTD is not valid since I got the following error message in XML Spy like:
Entity substitutin failed!
Well-formedness violation: character '(' is grammatically unexpected in the column 18 at line 1.
I know the problem is definitely caused by #PCDATA, but I don't know how to convert (I tried different ways but with no luck)?
I appreciate any comments.
syt
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]