[ 
https://issues.apache.org/jira/browse/TUSCANY-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509460
 ] 

Mike Edwards commented on TUSCANY-1389:
---------------------------------------

I think that the right approach here is to use the XSDs for SCA.

Eclipse XML tooling is certainly capable of using XSDs as well as DTDs to 
describe to structure of XML documents.  The SCA XSDs are freely available at:

http://www.osoa.org/xmlns/sca/1.0

I propose one additional step which will help in handling the SCA samples - 
that each composite file in the samples has an xsi:location attribute added to 
it as follows:

xsi:schemaLocation="http://www.osoa.org/xmlns/sca/1.0    
http://www.osoa.org/xmlns/sca/1.0/sca-core.xsd "

This should allow any context aware XML editor to find the SCA XSDs and use 
them for validation and editing assist.

Anyone who wants to workffline will need to install local copies of the XSDs on 
their machine and adjust the xsi:location target value.

> published DTD for composite XML Schema needed/useful
> ----------------------------------------------------
>
>                 Key: TUSCANY-1389
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1389
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SCA BigBank Sample, Java SCA Core Runtime, Java SCA 
> Samples
>    Affects Versions: Java-SCA-0.90
>         Environment: java
>            Reporter: James Tomkinson
>            Priority: Minor
>         Attachments: addattributes_knownfromDTD.jpg, 
> addchild_knownfromDTD.jpg, openwithxmleditor.jpg
>
>
> Samples should supply a DOCTYPE in *.composite xml files, that points to a 
> stored DTD, so that XML editing tools can be used to create/edit/validate XML 
> schema.   This will enhance productivity/accuracy.
> Example for Hibernate:
> <!DOCTYPE hibernate-configuration PUBLIC
>               "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
>               
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to