You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dan Diephouse (JIRA)" <ji...@apache.org> on 2007/01/11 19:06:27 UTC

[jira] Commented: (CXF-363) Updates to the SchemaInfo model

    [ https://issues.apache.org/jira/browse/CXF-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463974 ] 

Dan Diephouse commented on CXF-363:
-----------------------------------

Hi Balaji - a quick suggestion. We're already parsing out all the schemas into XmlSchema objects. For instance line 210 of WSDLServiceBuilder. How about adding a property on SchemaInfo for the XmlSchema object and setting it in the appropriate places instead? Then you can access all the schema information you want :-)

> Updates to the SchemaInfo model
> -------------------------------
>
>                 Key: CXF-363
>                 URL: https://issues.apache.org/jira/browse/CXF-363
>             Project: CXF
>          Issue Type: New Feature
>    Affects Versions: 2.0-RC
>            Reporter: Balaji Ravi
>             Fix For: 2.0-RC
>
>         Attachments: schemaInfo.patch
>
>
> I am working on the corba binding based on cxf & we are using stax to read & write objects. 
> Since we have to write out the stax events, it would be good if we could get some information from the SchemaInfo object about the elementFormDefault & attributeFormDefault attributes. 
> Also, missing are the schemas that are imported inside the schema element. How do get these schemas from the service model? Should we create SchemaInfo's for the imported schemas? It would be helpful if we do it when we are parsing the wsdl, otherwise it would be messy to get the DOM element from the schema info & look for the imports... 
> I have attached a patch that fixes both the issues. Can someone provide feedback on this?
> - Balaji

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira