camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7094) Wrong <property /> type definition in camel-spring.xsd
Date Wed, 23 Jul 2014 08:51:39 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-7094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071517#comment-14071517
] 

Claus Ibsen commented on CAMEL-7094:
------------------------------------

Yeah I think we need to slight adjust the xsd so setting properties for CamelContext should
use a different name so there is no clash.

> Wrong <property /> type definition in camel-spring.xsd
> ------------------------------------------------------
>
>                 Key: CAMEL-7094
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7094
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-blueprint, camel-spring
>    Affects Versions: 2.12.2
>            Reporter: Kirill Vergun
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> It defines *<property />* as following:
> {code:xml}
> <xs:element name="property" nillable="true" type="xs:anyType"/>
> {code}
> via
> {code:xml}
> <xs:complexType name="propertiesDefinition">
>   <xs:sequence>
>     <xs:element ref="tns:property" minOccurs="0" maxOccurs="unbounded"/>
>   </xs:sequence>
> </xs:complexType>
> {code}
> but I believe that it should be a link to the existing
> {code:xml}
> <xs:complexType name="propertyDefinition">
>   <xs:sequence/>
>   <xs:attribute name="key" type="xs:string" use="required"/>
>   <xs:attribute name="value" type="xs:string" use="required"/>
> </xs:complexType>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message