[ http://issues.apache.org/jira/browse/WODEN-37?page=all ]

Oshani Seneviratne updated WODEN-37:
------------------------------------

    Attachment: StAXBasedParsing.patch

This patch is an initial attempt to provide StAX based parsing in woden.

Please apply it at [WODEN HOME]/org/apache/woden/internal/ and make sure that 
http://people.apache.org/repository/ws-commons/jars/axiom-api-1.0.jar is in 
your class path before trying it out.

The patch includes the following source files:
 
-->org.apache.woden.internal.OMWSDLReader.java:
This class is similar in functionality to the 
org.apache.woden.internal.DOMWSDReader.java. It will provide the functionality 
to read the WSDL and parse all the component elements to their respective Woden 
elements. The DescriptionElement will consist of all these *Element objects. 

-->org.apache.woden.internal.util.om.QNameUtils.java:
This class is similar in functionality to the 
org.apache.woden.internal.dom.QNameUtils.java. It handles some trivial 
functionality related to QNames.

-->org.apache.woden.internal.util.om.OMUtils.java:
This class is similar in functionality to the 
org.apache.woden.internal.dom.DOMUtils.java. It contains utility methods 
required for parsing the elements using AXIOM.

*************************************************************
What's still TODO:

1. Parsing import and include elements. 
2. Importing all the schemas from http://www.w3.org/2001/XMLSchema.xsd as in 
the DOMWSDLReader. (From Axis2 point of view, this might not be necessary. 
However, will include it later)
3. Parsing extension elements and attributes.


> StAX based parsing for Woden
> ----------------------------
>
>          Key: WODEN-37
>          URL: http://issues.apache.org/jira/browse/WODEN-37
>      Project: Woden
>         Type: New Feature

>   Components: Parser
>     Reporter: Oshani Seneviratne
>     Priority: Minor
>  Attachments: StAXBasedParsing.patch
>
> With the primary motivation for long-term integration with Axis2, a StAX 
> based parsing model for Woden could use AXIOM, the light-weight and high 
> performance object model to parse a WSDL into the Woden interface.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to