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

Venkatakrishnan updated TUSCANY-419:
------------------------------------

    Attachment: tuscany-sca-tools patch 30-May.txt

Hi Ant.

This is an updated patch for the xml instance tool.  This contains two flavours 
of the generator - one that uses SDO and another that uses XMLBeans.  Take a 
look at the testcases for how one could go about using this.

Some points with respect to the generator based on XML Beans
- I have refactored / modified some code from the XMLBeans package.  I have 
- there is no xml declaration generated in the output
- where there are recursive / repititive definitions (as in the case of the 
MixedQuote type in sequences.xsd) there is only one outer instance created with 
a comment highlighting where an how many repititions could occur further 
within.  
- the output contains proper root element tags, only if the generation is based 
on element types declared in the input schema.  If it is based on data types 
for which there are no elements defined  then the root element is named as 
'xml-fragment'.



> Template XML for JavaScript components
> --------------------------------------
>
>          Key: TUSCANY-419
>          URL: http://issues.apache.org/jira/browse/TUSCANY-419
>      Project: Tuscany
>         Type: New Feature

>   Components: Java SCA JavaScript Container
>     Versions: Java-M2
>     Reporter: ant elder
>     Priority: Critical
>      Fix For: Java-M2
>  Attachments: tuscany-sca-plugins patch 24-May.txt, tuscany-sca-tools patch 
> 24-May.txt, tuscany-sca-tools patch 30-May.txt
>
> Provide a template XML facility for JavaScript components

-- 
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