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

      Fuhwei Lwo created issue -
      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 ?
      ant elder made changes -
      Field Original Value New Value
      Affects Version/s Java-SDO-Mx [ 12312262 ]
      ant elder made changes -
      Fix Version/s Java-SDO-Mx [ 12312262 ]
      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.
      Frank Budinsky made changes -
      Status Open [ 1 ] Resolved [ 5 ]
      Resolution Won't Fix [ 2 ]
      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.
      ant elder made changes -
      Status Resolved [ 5 ] Closed [ 6 ]
      Transition Time In Source Status Execution Times Last Executer Last Execution Date
      Open Open Resolved Resolved
      153d 21h 47m 1 Frank Budinsky 03/Apr/07 18:15
      Resolved Resolved Closed Closed
      1264d 18h 8m 1 ant elder 19/Sep/10 12:23

        People

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

          Dates

          • Created:
            Updated:
            Resolved:

            Development