You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Frank Budinsky (JIRA)" <tu...@ws.apache.org> on 2007/03/14 13:39:09 UTC

[jira] Commented: (TUSCANY-1169) Property.getType() throws ClassCastException if the property is from AnyDataObjectType.getInstanceProperties()

    [ https://issues.apache.org/jira/browse/TUSCANY-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480745 ] 

Frank Budinsky commented on TUSCANY-1169:
-----------------------------------------

This sounds like a bug that slipped in with the recently committed TUSCANY-521. I'll take a look later today or tomorrow.

> Property.getType() throws ClassCastException if the property is from AnyDataObjectType.getInstanceProperties()
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1169
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1169
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-M3
>            Reporter: Raymond Feng
>
> I try to load the following XML document without defining XSD against the XSDHelper.
> <?xml version="1.0" encoding="UTF-8"?>
> <p:op xmlns:p="http://www.example.com/wrapper" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     xsi:schemaLocation="http://www.example.com/wrapper wrapper.xsd ">
>     <message>message</message>
>     <symbol>symbol</symbol>
>     <message>message1</message>
>     <symbol>symbol1</symbol>
>     <symbol>symbol2</symbol>
> </p:op>
> Then when I call:
> List properties = rootObject.getInstanceProperties();
> For a property in the list, calling p.getType() gives me a ClassCastException.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org