[ 
https://issues.apache.org/jira/browse/TUSCANY-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Sebastien Delfino resolved TUSCANY-1154.
---------------------------------------------

    Resolution: Fixed

This is fixed. I just tried and got a meaningful exception:
Caused by: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag 
</service>; expected </component>.
 at [row,col {unknown-source}]: [25,14]
        at 
com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:605)
        at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461)
        at 
com.ctc.wstx.sr.BasicStreamReader.reportWrongEndElem(BasicStreamReader.java:3256)
        at 
com.ctc.wstx.sr.BasicStreamReader.readEndElem(BasicStreamReader.java:3198)
        at 
com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2830)
        at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
        at 
org.apache.tuscany.sca.assembly.xml.CompositeProcessor.read(CompositeProcessor.java:310)
        ... 12 more

> Return warning or error if parsing the scdl results in nothing being deployed
> -----------------------------------------------------------------------------
>
>                 Key: TUSCANY-1154
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1154
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-M2, Java-SDO-beta1
>            Reporter: Dan Murphy
>             Fix For: Java-SCA-Next
>
>
> A scdl containing a simply type-o (I in advertently terminated the starting 
> service element) can be parsed and appear to deploy, but nothing is acutally 
> deployed.
> When writing by hand complex xml (such as scdl) this can easily happen, so if 
> a warning message was written (or appropriate exception thrown) then the user 
> would
> eaily see that there was "a problem" with the scdl.

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