Tuscany
  1. Tuscany
  2. TUSCANY-889

Add a new codegen option to generate static SDO APIs using StAX parser

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: Java-SDO-Next
    • Fix Version/s: Java-SDO-Next
    • Component/s: Java SDO Tools
    • Labels:
      None

      Activity

      Hide
      Dan Murphy added a comment -

      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 ?

      Show
      Dan Murphy added a comment - 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 ?
      Hide
      Frank Budinsky added a comment -

      Resolving since it's old and totally unclear what it's asking for.

      Show
      Frank Budinsky added a comment - Resolving since it's old and totally unclear what it's asking for.
      Hide
      ant elder added a comment -

      Closing because this has been in RESOLVED state for over one year, if it turns out to not be fixed please reopen.

      Show
      ant elder added a comment - Closing because this has been in RESOLVED state for over one year, if it turns out to not be fixed please reopen.

        People

        • Assignee:
          Unassigned
          Reporter:
          Fuhwei Lwo
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development