[
https://issues.apache.org/jira/browse/TUSCANY-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463014
]
Dan Murphy commented on TUSCANY-889:
------------------------------------
Hi Fuhwei, please can you confirm that this is what you are after :
A new JavaGenerator.OPTION_USE_STAX_PARSER which is then (obviously) honored
in the XSD2JavaGenerator ?
And / or a new method similar to the following:
public static void generateFromXMLSchema(XMLStreamReader xsdSource, String
namespace, String targetDirectory, String javaPackage, String prefix, int
genOptions)
Whilst StAX should give improved performance of generation, I'm not sure about
the overall benefit (versus effort of implementing). As I understand it, static
generation is typically a development only activity, so it would not effect
runtime performance - or do you have some very complex schemas that need
frequent generation to static SDOs ?
> Add a new codegen option to generate static SDO APIs using StAX parser
> ----------------------------------------------------------------------
>
> Key: TUSCANY-889
> URL: https://issues.apache.org/jira/browse/TUSCANY-889
> Project: Tuscany
> Issue Type: New Feature
> Components: Java SDO Tools
> Reporter: Fuhwei Lwo
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]