Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Problem with Entity parameter


  • From: "Rita Shen" <shaledova@...>
  • To: xml-dev@...
  • 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]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords
xml