Fix for xslt deprecation. - #804
Conversation
|
For event.wsdl, the likely root cause is that it imports external WS-* resources over http://, for example OASIS and W3C WSDL/XSD files. The current viewer/XSL appears to dereference imported WSDL/XSD files using document(...), which means the browser-side SaxonJS transform tries to fetch these external HTTP resources. Since the preview page is served over HTTPS, this is likely blocked by mixed-content/CORS restrictions. The transform then fails and the viewer shows a blank page instead of an error. Suggested fixes: The browser-side WSDL viewer should not dereference remote absolute http:// or https:// imports directly. It should either skip them in preview mode, use local mirrored copies, or go through a same-origin proxy. Expected behavior: the viewer should render the local WSDL content even when external imports are skipped, and show a warning/error message instead of a blank white page. |
| <td></td> | ||
| <td><a href="AccessRules.xml">Access Rules</a></td> | ||
| <td><a href="../wsdl/ver10/accessrules/wsdl/accessrules.wsdl">accessrules.wsdl</a></td> | ||
| <td><a href="../wsdl/ver20/util/wsdl-viewer.html?file=../..//ver10/accessrules/wsdl/accessrules.wsdl">accessrules.wsdl</a></td> |
There was a problem hiding this comment.
Extra forward slash is used in many places.
../..//ver10/
to
../../ver10/
There was a problem hiding this comment.
Yes this extra slash is not required and may introduce issues.
kieran242
left a comment
There was a problem hiding this comment.
@HansBusch fixes still required.
| <td></td> | ||
| <td><a href="AccessRules.xml">Access Rules</a></td> | ||
| <td><a href="../wsdl/ver10/accessrules/wsdl/accessrules.wsdl">accessrules.wsdl</a></td> | ||
| <td><a href="../wsdl/ver20/util/wsdl-viewer.html?file=../..//ver10/accessrules/wsdl/accessrules.wsdl">accessrules.wsdl</a></td> |
There was a problem hiding this comment.
Yes this extra slash is not required and may introduce issues.
|
The saxon parser seems to have difficulties to distinguish same name with different namespaces. |
… whether multiple is desired.
|
Rendering time is still unacceptable taking over seven seconds for larger schemas. We may need to consider publishing rendered html on the public website. |
Add js based wsdl viewer.