You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2009/02/05 20:02:00 UTC
[jira] Resolved: (WSCOMMONS-436) SchemaBuilder returns a null
XmlSchemaAppInfo when appinfo element without source attribute
[ https://issues.apache.org/jira/browse/WSCOMMONS-436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies resolved WSCOMMONS-436.
----------------------------------------
Resolution: Fixed
Fix committed. Snapshot published.
> 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.