You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "Arthur Ryman (JIRA)" <ji...@apache.org> on 2007/12/10 03:39:43 UTC

[jira] Created: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

WSDL Viewer Fails on W3C Test Suite
-----------------------------------

                 Key: WODEN-188
                 URL: https://issues.apache.org/jira/browse/WODEN-188
             Project: Woden
          Issue Type: Bug
    Affects Versions: M8
            Reporter: Arthur Ryman
             Fix For: M8


I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.

It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.


Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
w3c-html:
    [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
     [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
     [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
     [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
     [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
     [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)

BUILD FAILED
E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError

Total time: 10 seconds


-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Tomi Vanek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551765 ] 

Tomi Vanek commented on WODEN-188:
----------------------------------

Thanks for sharing your experience.
I found a solution - now I need to find time to implement it ;-)
My plan is to finish the Ant testing script early next week.

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550184 ] 

Arthur Ryman commented on WODEN-188:
------------------------------------

Tomi, basedir is set:
		<xslt force="yes" style="${wsdl-viewer.xsl}" basedir="${test-suite.dir}/documents" includes="**/*.wsdl" destdir="html" extension=".html" />

basedir and includes combine to determine which WSDL files get processed. The settings cause all WSDL documents in the W3C test suite to get processed. The problem is that the WSDL viewer is not resolving references relative to the document. Thx.

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Assigned: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arthur Ryman reassigned WODEN-188:
----------------------------------

    Assignee: Tomi Vanek

Tomi, please handle this. The first problem is the treatment of relative URLs. The second problem is handled cycles in the imports/includes - the viewer should only process each document once to avoid an endless loop and stack overflow.

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Tomi Vanek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550343 ] 

Tomi Vanek commented on WODEN-188:
----------------------------------

OK - it seems to be a problem in the ANT XSLT tag - I would expect the basedir is not set:
    <xslt basedir="${source.doc}" ....
I'll look into the source code..
tomi


> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Tomi Vanek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomi Vanek updated WODEN-188:
-----------------------------

    Attachment: WODEN-188-01.patch

It seems that I have no permission to commit into SVN. In attachment is the patch for ANT script (suggested comment for SVN commit note):

Ant xslt tag sets the base-dir for XSLT includes but does not allow to set base-dir for processed XML includes. So the solution is to create an agent script in each test directory and to run it from that directory. This eliminates the base-dir challenges because the test script, the WSDL-s, XSD-s are all in the same directory.

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>         Attachments: WODEN-188-01.patch
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568211#action_12568211 ] 

Arthur Ryman commented on WODEN-188:
------------------------------------

Tomi,

I this is a Xalan bug, could you please create a simple test case and report it to the Xalan JIRA? Maybe it's fixable.

To proceed, let's consider two usage cases:

1) process the WSDL on the server and generate HTML - for this we can use saxon

2) process the WSDL in the brower - have you tested this? If we added an <?xml-stylesheet?> directive to WSDL could a browser display it? Does this make sense?

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>         Attachments: WODEN-188-01.patch, WODEN-188-02.patch
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Tomi Vanek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568503#action_12568503 ] 

Tomi Vanek commented on WODEN-188:
----------------------------------

Use cases - it makes sense (in scope of this bug).

I must admit that I am using browser for development (I know - it is not "best practice", so I hope my employer does not read these lines ;-). All changes are tested in IE6 and Firefox 2.x on Windows. Afterwards I run Ant with Xalan (default from Java installation) and with Saxon on a set of test WSDL-s collected on Internet or sent by users that reported some bugs.

Just a note out-of-scope of this issue: I plan to refactor the import processing in operation / message detail rendering to support recursive includes / imports (as it is in the case by source code rendering in the viewer). I expect that this refactoring could (as a nice side-effect) eliminate the Xalan exception problem.


> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>         Attachments: WODEN-188-01.patch, WODEN-188-02.patch
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Tomi Vanek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552480 ] 

Tomi Vanek commented on WODEN-188:
----------------------------------

Following tests from the "good" w3c test directory end-up with an exception (in the first iteration I did not test the "bad" tests):
Chameleon-1G
Chameleon-2G
Chameleon-3G
Chameleon-4G
CreditCardFaults-1G
Import-1G
Import-2G
ImportedWSDL-1G
LocationTemplate-1G
LocationTemplate-2G
LocationTemplate-3G
MessageMultipart-1G
MessageTest-1G
MessageTest-2G
MessageTest-3G
MessageTest-5G
MessageTest-6G
Schema-1G
SchemaLocationFragment-1G
ServiceReference-1G
SOAPHeader-1G
SparqlQuery-1G
SparqlQuerySimplified-1G
TicketAgent-1G
W3CBugzillaHttp-1G
XsImport-2G
XsImport-3G

It seems there are (at least) 2 different bugs that cause the test crashes and I observed also some rendering bugs. I will open new dedicated Jira issues for rendering bugs.

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>         Attachments: WODEN-188-01.patch
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Tomi Vanek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550170 ] 

Tomi Vanek commented on WODEN-188:
----------------------------------

OK - it seems to be a problem in the ANT XSLT tag - I would expect the basedir is not set:
    <xslt basedir="${source.doc}" ....
I'll look into the source code..
tomi


> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lawrence Mandel updated WODEN-188:
----------------------------------

    Component/s: Tools

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M9
>
>         Attachments: WODEN-188-01.patch, WODEN-188-02.patch
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lawrence Mandel updated WODEN-188:
----------------------------------

    Fix Version/s:     (was: M8)
                   M9

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M9
>
>         Attachments: WODEN-188-01.patch, WODEN-188-02.patch
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558491#action_12558491 ] 

Arthur Ryman commented on WODEN-188:
------------------------------------

Tomi, the patch looks fine. I committed WODEN-188-02.patch. 

FYI, I was on vacation for 2 weeks, then away on business travel last week, so I apologize for the delay in committing your patch. If I get delayed next time, I'll ask another committer for help.

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>         Attachments: WODEN-188-01.patch, WODEN-188-02.patch
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Tomi Vanek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568039#action_12568039 ] 

Tomi Vanek commented on WODEN-188:
----------------------------------

It seems Xalan has a bug in processing XSLT variable element if the node-set contains also nodes from different XML document - read with 'document()' XPath function - the processing ends with an ugly java.lang.ArrayIndexOutOfBoundsException. Saxon does not have any problems - all tests pass the transformation.

Do have somebody any suggestion, how to catch the problem in Xalan - exactly which XSLT construct could cause the exception?

Thanks,
tomi


> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>         Attachments: WODEN-188-01.patch, WODEN-188-02.patch
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Tomi Vanek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomi Vanek updated WODEN-188:
-----------------------------

    Attachment: WODEN-188-02.patch

Fixes for tests:
* Schema-1G: the transformation did not expect WSDL fragment (with no service or interface definition)
* ImportedWSDL-1G, SchemaLocationFragment-1G, XsImport-2G, XsImport-3G: fixed bug in include / import processing

All the other tests work with saxon, but crash with xalan. I have to find a way (a tool) to find the position in the WSDL and XSLT, which causes the crash...

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>         Attachments: WODEN-188-01.patch, WODEN-188-02.patch
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551489 ] 

Arthur Ryman commented on WODEN-188:
------------------------------------

Tomi, I core problem is that XSLT doesn't "know" the URI of the input document it's processing, i.e. it's just a locationless stream of bytes, so therefore you can't compute relative URIs. Can you in fact determine at runtime what basedir is? I thought this was just an Ant-ism. 

Does the wsdl-viewer.xsl assume that it is running in the same directory as the WSDL?

At W3C, we ran into a similar problem using XSLT to manage the Test Suite. The solution we came up with was to seed each directory with a special file that included the relative URI of the WSDL file we were processing, relative to the parent directory used by the Ant task. We pass the parent directory in as a param and then iterate over the subdirectories, processing these special *.filename documents which identify the WSDL. So perhaps you could use this and write a little "laucher" XSLT that takes this filename as input and then calls wsdl-viewer.xsl using the absolute URI of the WSDL file, e.g. passing it as a param?

e.g. for a *.filename file see:
http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/good/Chameleon-1G/getBalance.filename

Here is an example of using *.filename files:

<target name="evaluate-Woden" depends="canonicalize-Woden" description="Compare Woden/*/*.wsdlcm results with the Baseline, reporting the results as *.results.xml.">
		<xslt style="wsdlcm-compare.xsl" extension=".results.xml" basedir="../documents/good" destdir="Woden" includes="*/*.filename" force="yes">
			<param name="implementation" expression="Woden" />
		</xslt>
	</target>


> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554259 ] 

Arthur Ryman commented on WODEN-188:
------------------------------------

Tomi, I committed your patch.

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>         Attachments: WODEN-188-01.patch
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553486 ] 

Arthur Ryman commented on WODEN-188:
------------------------------------

Tomi,

Thx for the patch. I will review your patch asap. 

The process is that you establish a good track record of fixing bugs and submitting successful patches. Then we vote you in as a committer.

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>         Attachments: WODEN-188-01.patch
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-188) WSDL Viewer Fails on W3C Test Suite

Posted by "Tomi Vanek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551447 ] 

Tomi Vanek commented on WODEN-188:
----------------------------------

So the problem analysis: I have to set the base dir to the very same as the directory in which is the tested WSDL. In our case the base directory is 2 levels higher and the XSLT engine tries to find the included files in a place relative to base directory.
The Ant has to iterate through the test directories and set each directory as the base-dir for that particular transformation in the XSLT tag (something like this):

<for-each dir="${test-suite.dir}/documents/good/*" as="current-test-dir">
  <xslt force="yes" style="${wsdl-viewer.xsl}" basedir="${current-test-dir}" includes="**/*.wsdl" destdir="html" extension=".html" />
</for-each>

But in the Ant's standard task-set there is no such a function as "for-each" and no possibility to add a dependency to such an external tag that would be downloaded - as it is in Maven.

Any ideas how to solve this? (maybe there is already some solution on place for this - just I did not find it?)

Thanks.

> WSDL Viewer Fails on W3C Test Suite
> -----------------------------------
>
>                 Key: WODEN-188
>                 URL: https://issues.apache.org/jira/browse/WODEN-188
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M8
>            Reporter: Arthur Ryman
>            Assignee: Tomi Vanek
>             Fix For: M8
>
>
> I get errors running wsdl-viewer against the W3C Test Suite. See wsdl-viewer-test/build.xml to run the tests.
> It looks like the stylesheet is not resolving relative references corrected. The references should be resolved relative to the WSDL file, not the XSLT file.
> Buildfile: E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml
> w3c-html:
>     [mkdir] Created dir: E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Transforming into E:\workspaces\WSD2\woden\wsdl-viewer-test\html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-1B\BadBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-1B\BadBinding.html
>      [xslt] Loading stylesheet E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-2B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-2B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding-Extended.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding-Extended.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\NonUniqueBinding.wsdl (The system cannot find the file specified)
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-3B\NonUniqueBinding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-3B\NonUniqueBinding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-4B\Echo.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-4B\Echo.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-5B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-5B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-6B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-6B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Binding-7B\Binding.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Binding-7B\Binding.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFault-1B\BindingFault.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFault-1B\BindingFault.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-1B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-1B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-2B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-2B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingFaultReference-3B\BindingFaultReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingFaultReference-3B\BindingFaultReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-1B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-1B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-2B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-2B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingMessageReference-3B\BindingMessageReference.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingMessageReference-3B\BindingMessageReference.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\BindingOperation-1B\BindingOperation.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\BindingOperation-1B\BindingOperation.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-1B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-1B\getBalance.html
>      [xslt] Processing E:\workspaces\WSD2\woden\downloads\w3c\documents\bad\Chameleon-2B\getBalance.wsdl to E:\workspaces\WSD2\woden\wsdl-viewer-test\html\bad\Chameleon-2B\getBalance.html
>      [xslt] E:\workspaces\WSD2\woden\wsdl-viewer\wsdl-viewer.xsl:751:14: Warning! Can not load requested doc: E:\workspaces\WSD2\woden\wsdl-viewer\accountInfo.xsd (The system cannot find the file specified)
> BUILD FAILED
> E:\workspaces\WSD2\woden\wsdl-viewer-test\build.xml:44: java.lang.StackOverflowError
> Total time: 10 seconds

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org