|
Posted by Curt Zirzow on 10/25/99 11:32
On Sat, Nov 19, 2005 at 07:05:37AM +0100, Erik Franzn wrote:
>...
> Using the following DTD as an external file:
> <!ELEMENT Document ANY>
> <!ELEMENT CMAES_Model_DbSection ANY>
> <!ATTLIST CMAES_Model_DbEntry E_iEntryId ID #REQUIRED>
>
> The result is the following:
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE Document SYSTEM "D:/CMAES/Src/dbtree.dtd">
> <Document><CMAES_Model_DbSection
> S_iSectionId="123">test</CMAES_Model_DbSection></Document>
>
>
>
> Warning: Syntax of value for attribute S_iSectionId of
> CMAES_Model_DbSection is not valid in <script on line 23
> bool(false)
> TagName: CMAES_Model_DbSection
I would assume you want
<!ATTLIST CMAES_Model_DbEntry S_iSectionId ID #REQUIRED>
or
change the S_iSectionId to be E_iEntryId (to match the dtd)
attibute in the element.
Curt.
--
cat: .signature: No such file or directory
Navigation:
[Reply to this message]
|