Tony Graham wrote:
> Sunil Kunisetty <> wrote at Mon, 16 Feb 2004 15:28:02 -0800:
> > Tony Graham wrote:
> ...
> > > Line 1693
> > >
> > > The name 'EmptyType' makes me think it is defining something for an
> > > empty element. Is there a different name that can be used?
> > > 'CommonType'? 'BaseType'? 'DefaultType'? 'SequenceType'?
> > >
> >
> > It is indeed used as an EmptyType. For ex., AckRequested won't have
> > any child elements, in that case, AckRequested element extends
> > this EmptyType.
>
> Yes, but it's also used for RefToMessageIdsType, and RefToMessageIds
> does have child elements. It is also used in Tom's recent sample
This is because the Node RefToMessageIdsType doesn't have any value to itself.
So basically it is used when a Node doesn't have any value..
Also, this is not a exposed element (just an internal element name), so it shouldn't
be that big a deal what we call it.
>
> schemas for elements that have child elements, which is actually what
> got me noticing the name.
>
> Regards,
>
> Tony Graham
> ------------------------------------------------------------------------
> Web Products, Technologies and Standards Phone: +353 1 8199708
> Sun Microsystems x(70)19708
> East Point Business Park, Dublin 3, Ireland