Kirill Vergun created CAMEL-7094:
------------------------------------

             Summary: 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-spring
    Affects Versions: 2.12.2
            Reporter: Kirill Vergun
            Priority: Minor


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.1.5#6160)

Reply via email to