Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7094

Wrong <property /> type definition in camel-spring.xsd

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.12.2
    • 2.15.0
    • None
    • Unknown

    Description

      It defines <property /> as following:

      <xs:element name="property" nillable="true" type="xs:anyType"/>
      

      via

      <xs:complexType name="propertiesDefinition">
        <xs:sequence>
          <xs:element ref="tns:property" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:complexType>
      

      but I believe that it should be a link to the existing

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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            o_nix Kirill Vergun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: