Bob Foster wrote:

> Not exactly a Xerces question, but here is an answer.
>
> Any element in the *-qualified list can appear any number of times and the ?
> has absolutely no effect. (a|b)*, (a?|b?)*, (a?|b)* and (a|b?)* all describe
> the same grammar.
>
> Bob
>
> ----- Original Message -----
> From: "Shashank" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 30, 2001 1:52 AM
> Subject: validation of XML file
>
> >
> > I have a DTD file which has element like this
> >
> > <!Element softpkg
> >     (title
> >     |author
> >     |idl ?
> >     |extension
> >     )*>
> >
> >
> >     in XML file I tried putting up idl tag twice and it validates
> > against the DTD.
> >
> >     This means if in Element definition,  like in idl(we have ?) that
> > means the element can  appear (if appears ) only once.
> >     But element definiiton sofpkg says any element can appear, any
> > number of times. (has *)
> >
> >     Does this mean element idl can appear any number of times and is
> > valid??
> >     or this is for any other element for which constraint is not
> > mentioned?
> >
> >     clear my doubts.
> >
> >     take care,
> >     Shashank
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--

-----------------------------------------------------------
Shashank
iCMG
India Development Center
Millennium Towers
Queens Road, Bangalore - 51
Ph:91-80-286 5620 Fax:91-80-286 5623
-------------------------------------------------------------
Architecting Software Components for EAI
        http://www.iCMGworld.com/
-------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you are not
the intended recipient, please contact the sender by reply e-mail and
destroy all copies of the original message.



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

Reply via email to