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. Regards Simon
