Anybody understand why this is an invalid DTD?
I'm no expert on how to define/create a DTD, but when I remove the line
operation (+ | - | = | now | never) #IMPLIED
the DTD appears to be fine.
It's it because we are trying to define the entry element and cant due the
"language" syntax available for DTD definitions?
Anyhow, If the ant-developers haven't come across this before, then it looks
like a bug in this beta release.
Thanks
Mick
PS: I find the dtd very handy as it allows me to write what I need to do and
not to worry about the the language syntax of ant.
-----Original Message-----
From: M.A.Dunphy [mailto:[EMAIL PROTECTED]]
Sent: 26 February 2001 14:31
To: '[EMAIL PROTECTED]'
Subject: RE: Problem with DTD in ant1.3b3
after looking at this further, it appears to be in the section:
<!ELEMENT entry EMPTY>
<!ATTLIST entry
id ID #IMPLIED
operation (+ | - | = | now | never) #IMPLIED
default CDATA #IMPLIED
key CDATA #IMPLIED
type (int | date | string) #IMPLIED
pattern CDATA #IMPLIED
value CDATA #IMPLIED>
Thanks
Mick
PS: Just found that the TOC for the optional tasks is incomplete. It doesn't
list the depend tasks, eventhough there is a depend.html
-----Original Message-----
From: M.A.Dunphy [mailto:[EMAIL PROTECTED]]
Sent: 26 February 2001 10:20
To: Ant-User (E-mail)
Subject: Problem with DTD in ant1.3b3
Hi all,
I've just downloaded the 1.3b3 release, and used the antstructure task to
generate the DTD file. When I run ant on our build file it fails saying:
C:\...\build.xml:714: Name tokens must not start with "+" characters.
This appears to be a problem with the generated DTD. Anybody know what the
problem is and the solution?
Thanks
Mick