On 11/2/07, Glen Daniels <[EMAIL PROTECTED]> wrote:
>
> 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();


+1. but I am not sure the implementation problems as Benson has mentioned.
Anyway I belive this  should go to next release.

> 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?


+1. for  change the getElementByName(QName) and add a new method
getElementByName(String).

if no -1s, Ajith could you please start a vote with a new RC?

Amila.

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


-- 
Amila Suriarachchi,
WSO2 Inc.

Reply via email to