How would getRefElement know which schema collection to look up in?

> -----Original Message-----
> From: Glen Daniels [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 02, 2007 11:45 AM
> To: [email protected]
> Subject: Re: [XmlSchema] [Vote] Time for a release - take 2
> 
> Hi Amila:
> 
> Amila Suriarachchi wrote:
> >> What I'm really asking is why do you need to look anything (from a
> >> foreign namespace) up by name, when the object model lets you just
walk
> >> the objects directly?
> >
> > here the problem is it does not allow. if you go and see the
> > XmlSchemaElement class only method
> > getRefName() is available. it does not have a method to get the
> referenced
> > Element.
> 
> Well, should we add that ability then?
> 
> XmlSchemaElement realElement = element.getRefElement();
> 
> > The above senario (which I mentioned in earlier mail) is appliced
when
> > getting
> > 1. Elements
> > 2, Named types
> > 3. Attributes
> > 4  Attribute Groups
> > 5. Goups
> 
> OK, so what do people think of the suggestion that we fix the buggy
> method and perhaps add a new getElementByName(String) to get local
> elements?
> 
> --Glen
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to