[ https://issues.apache.org/jira/browse/WSCOMMONS-436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fady Moussallam updated WSCOMMONS-436: -------------------------------------- Attachment: annotation-appinfo-deep.xsd annotation-appinfo-no-source.xsd AnnotationDeepTest.java This is a junit with 2 tests, one that fails and one that works. > 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 > 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.