Actually you can have a DTD define enumerations of valid values for
attributes, which prompts the question: anybody in the mood for writing an
Ant-aware validating XML parsers? ;-)

----- Original Message -----
From: "Laurie Harper" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 12, 2002 2:06 AM
Subject: Re: DTD?


> 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.
>
> L.
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to