[ 
https://issues.apache.org/jira/browse/WSCOMMONS-436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benson Margulies updated WSCOMMONS-436:
---------------------------------------

    Fix Version/s: XmlSchema 1.4.4

> 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
>            Assignee: Benson Margulies
>             Fix For: XmlSchema 1.4.4
>
>         Attachments: annotation-appinfo-deep.xsd, 
> annotation-appinfo-no-source.xsd, AnnotationDeepTest.java
>
>
> 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