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 "Fady Moussallam (JIRA)" <ji...@apache.org> on 2009/02/04 19:13:59 UTC

[jira] Created: (WSCOMMONS-436) SchemaBuilder returns a null XmlSchemaAppInfo when appinfo element without source attribute

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.


[jira] Updated: (WSCOMMONS-436) SchemaBuilder returns a null XmlSchemaAppInfo when appinfo element without source attribute

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Resolved: (WSCOMMONS-436) SchemaBuilder returns a null XmlSchemaAppInfo when appinfo element without source attribute

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (WSCOMMONS-436) SchemaBuilder returns a null XmlSchemaAppInfo when appinfo element without source attribute

Posted by "Fady Moussallam (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (WSCOMMONS-436) SchemaBuilder returns a null XmlSchemaAppInfo when appinfo element without source attribute

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benson Margulies reassigned WSCOMMONS-436:
------------------------------------------

    Assignee: Benson Margulies

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