cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-2126) Aegis makes bogus XML Schema in several cases
Date Sat, 21 Mar 2009 18:34:50 GMT

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


Mime
View raw message