On Thu, Feb 12, 2009 at 8:54 PM, Luciano Resende <[email protected]>wrote:

> On Thu, Feb 12, 2009 at 12:47 PM, Simon Laws <[email protected]>
> wrote:
> >
> >
> > On Thu, Feb 12, 2009 at 8:24 PM, Richard Mah (JIRA) <
> [email protected]>
> > wrote:
> >>
> >> Tuscany Model loses AnyElements and AnyAttributes in the same namespace
> as
> >> the core sca namespace "http://www.osoa.org/xmlns/sca/1.0";
> >>
> >>
> -------------------------------------------------------------------------------------------------------------------------------------
> >>
> >>                 Key: TUSCANY-2847
> >>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2847
> >>             Project: Tuscany
> >>          Issue Type: Bug
> >>          Components: Java SCA Assembly Model
> >>    Affects Versions: Java-SCA-1.3
> >>            Reporter: Richard Mah
> >>
> >>
> >> Tuscany Model loses AnyElements and AnyAttributes in the same namespace
> as
> >> the core sca namespace "http://www.osoa.org/xmlns/sca/1.0";.
> >>
> >> Below is an example composite with an unknown element <binding.new> in
> the
> >> same namespace as "http://www.osoa.org/xmlns/sca/1.0";.  The example
> also
> >> contains an unkown attribute on the Service element.
> >>
> >> <?xml version="1.0" encoding="UTF-8"?>
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"; autowire="false"
> >> name="comp" targetNamespace="http://temp";>
> >>  <service name="service" unknownAttribute="value">
> >>    <binding.ws name="wsName"/>
> >>    <binding.new name="newName"/>
> >>  </service>
> >> </composite>
> >>
> >> --
> >> This message is automatically generated by JIRA.
> >> -
> >> You can reply to this email to add a comment to the issue online.
> >>
> >
> > Hi Richard
> >
> > When loading the composite with this in are you getting a warning saying
> > that binding.new can't be processed? The osoa defined schema
> extensibility
> > relies on "any" elements to be in a namespace other that the osoa
> namespace.
> > So I'd expect that the runtime treats this as a real binding but warns
> that
> > it can find a binding of this name.
> >
>
> Our runtime is processing "extension elements" of the same sca namespace.
> What we are NOT currently supporting is "extensions attributes" of the
> same sca namespace.
>
> > Regards
> >
> > Simon
> >
>
>
>
> --
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende <http://people.apache.org/%7Elresende>
> http://lresende.blogspot.com/
>

You know I didn't notice unknownAttribute="value". But you're right the XSD
says extension attributes can appear in any namespace (while elements that
don't extend sca:binding are only tolerated in ##other).

Simon

Reply via email to