Yes, sorry to bother, I was just thinking about readability sake.....but I’m
just not expert with xml parsing and validation.

Thanks for the input.

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta




> -----Original Message-----
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 09, 2002 11:12 PM
> To: Struts Developers List
> Subject: Re: Validator DTD
>
>
>
>
> On Fri, 9 Aug 2002, James Mitchell wrote:
>
> > Date: Fri, 9 Aug 2002 22:08:45 -0400
> > From: James Mitchell <[EMAIL PROTECTED]>
> > Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> > To: Struts Developers List <[EMAIL PROTECTED]>
> > Subject: Validator DTD
> >
> > While browsing through the Validator DTD, I noticed that the ‘formset’
> > element, which declares child elements ‘constant’ and ‘form’ was placed
> > between the ‘constant’ and ‘form’ elements (position in file).
> >
> > I’m not sure what impact (if any) this has on xml validation (no pun
> > intended), but I thought I would mention it.
> >
> > I’m attaching a patch, in case someone thinks its necessary.
> >
>
> This should not matter at all.  The allowed subelement order is defined by
> the <!ELEMENT> declaration of the parent element, not the syntactic order
> in the DTD.  And subelements can be used in more than one parent element
> (like <set-property> is for struts-config.xml files), so you couldn't rely
> on element order even if you wanted to.
>
> Craig
>
>
> --
> 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