SchemaBuilder returns a null XmlSchemaAppInfo  when appinfo element without 
source attribute
--------------------------------------------------------------------------------------------

                 Key: WSCOMMONS-436
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-436
             Project: WS-Commons
          Issue Type: Bug
          Components: XmlSchema
    Affects Versions: XmlSchema 1.4.3
            Reporter: Fady Moussallam


SchemaBuilder#handleAppInfo returns null if  appinfo does not have a source 
attribute.

In this example, the XmlSchemaAppInfo element returned is null:

    <xs:annotation>
        <xs:appinfo>
            <jaxb:schemaBindings>
                <jaxb:package  name="com.abc.validation"/>
            </jaxb:schemaBindings>
        </xs:appinfo>
    </xs:annotation>

In this one, it is returned correctly:

    <xs:annotation>
        <xs:appinfo source="anything">
            <jaxb:schemaBindings>
                <jaxb:package  name="com.abc.validation"/>
            </jaxb:schemaBindings>
        </xs:appinfo>
    </xs:annotation>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to