You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2009/03/21 18:41:50 UTC

[jira] Created: (CXF-2126) Aegis makes bogus XML Schema in several cases

Aegis makes bogus XML Schema in several cases
---------------------------------------------

                 Key: CXF-2126
                 URL: https://issues.apache.org/jira/browse/CXF-2126
             Project: CXF
          Issue Type: Bug
          Components: Aegis Databinding
    Affects Versions: 2.2
            Reporter: Benson Margulies
            Assignee: Benson Margulies


Turning on the new validation-of-schema feature, many, many, Aegis unit tests fail.

(-PvalidateSchemas)



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


[jira] Resolved: (CXF-2126) Aegis makes bogus XML Schema in several cases

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

Benson Margulies resolved CXF-2126.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.1

The rest of this was unit test support bugs. The 'CustomStringType' didn't write any schema, thus leading to a dangling schema pointer.


> Aegis makes bogus XML Schema in several cases
> ---------------------------------------------
>
>                 Key: CXF-2126
>                 URL: https://issues.apache.org/jira/browse/CXF-2126
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.2
>            Reporter: Benson Margulies
>            Assignee: Benson Margulies
>             Fix For: 2.2.1
>
>
> Turning on the new validation-of-schema feature, many, many, Aegis unit tests fail.
> (-PvalidateSchemas)

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


[jira] Commented: (CXF-2126) Aegis makes bogus XML Schema in several cases

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688068#action_12688068 ] 

Benson Margulies commented on CXF-2126:
---------------------------------------

In revision 756982, I added code as follows:

If there is a custom type mapping, and the mapping does not specify the XML schema type name, and the Java type name is in begins with 'java', then try to get a schema type name from the current type mapping rather than creating a useless QName for http://lang.java or something like it. This has the effect that if someone hangs a custom type mapping off of a java.lang.String property, and does not explicitly register it, and does not specify the schema type QName, they get xs:string as a schema type, which does not seem entirely crazy.



> Aegis makes bogus XML Schema in several cases
> ---------------------------------------------
>
>                 Key: CXF-2126
>                 URL: https://issues.apache.org/jira/browse/CXF-2126
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.2
>            Reporter: Benson Margulies
>            Assignee: Benson Margulies
>
> Turning on the new validation-of-schema feature, many, many, Aegis unit tests fail.
> (-PvalidateSchemas)

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


[jira] Commented: (CXF-2126) Aegis makes bogus XML Schema in several cases

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688064#action_12688064 ] 

Benson Margulies commented on CXF-2126:
---------------------------------------

annotatedTypeTest.testType fails:

There is a property of type String, and a custom type anotation via @XmlElement, and it comes up with http://java.lang.String instead of xs:string. 


> Aegis makes bogus XML Schema in several cases
> ---------------------------------------------
>
>                 Key: CXF-2126
>                 URL: https://issues.apache.org/jira/browse/CXF-2126
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.2
>            Reporter: Benson Margulies
>            Assignee: Benson Margulies
>
> Turning on the new validation-of-schema feature, many, many, Aegis unit tests fail.
> (-PvalidateSchemas)

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