wsdl-viewer
wsdl-viewer copied to clipboard
Xhtml fixes
Hi there, This branch contains a fixes to get the output from wsdl-viewer to validate as XHTML, and to fix some recursion issues I was having with the output.
Hey, first of all, thanks for the input!
The decision for using inline JQuery was made because we wanted the document formatting functioning even without an active internet connection. Do you have any suggestions how we could improve based on that principle?
Yeah, that makes sense.
I did try a variety of things to get it to validate using inline JS (including wrapping the CDATA sections in JS comments, see here: https://github.com/capncodewash/wsdl-viewer/commit/f05e9a86e615841fec2b26b0c262e13673742fd4 ), however nothing seemed to allow it to validate.
It seems that inline JavaScript is inherently breaky in XHTML. Is there any particular requirement for the stylesheet to generate XHTML, or would the HTML5 doctype be a possibility?
Right now I can't think of anything against switching to HTML5 doctype.