On Wed, 11 Sep 2002, Laurie Harper <[EMAIL PROTECTED]> wrote:
> On 9/11/02 2:40 AM, "Stefan Bodewig" <[EMAIL PROTECTED]> wrote:
>> But won't work, even with the DTD created by the example above.
>>
>> <javac fork="${javac.fork}" ...> is invalid as the parser will not
>> be aware of Ant properties.
>
> The parser doesn't need to be aware of ant properties, DTDs only
> specify what attributes must/may exist on an element -- not what
> their values can be.
But in this case the DTD reads
<!ENTITY % boolean "(true|false|on|off|yes|no)">
...
<!ATTLIST javac
id ID #IMPLIED
...
fork %boolean; #IMPLIED
...
extdirs CDATA #IMPLIED>
and ${javac.fork} obviously is not part of the enumeration that builds
up %boolean;.
Stefan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>