[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Rita Shen" <shaledova@g...>
  • To: xml-dev@l...
  • 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member