Permalink
Browse files

Fixes #10441 - Invalid data types in Frontend web service XSDs

This bug was only an issue when displaying the xsd in a browser.
If used in a tool, it would of had the proper types.
  • Loading branch information...
1 parent 2f6c4ee commit 6a0e4a2b0fd8869b2f5f352508d0f21d51851767 @dblain dblain committed Mar 12, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 mythtv/html/xslt/class.xslt
  2. +2 −1 mythtv/html/xslt/service.xslt
View
2 mythtv/html/xslt/class.xslt
@@ -20,7 +20,7 @@
<xsl:variable name="CurrentType" select="/xs:schema/xs:complexType/@name" />
<p class="alignLeft"><xsl:value-of select="//xs:documentation/text()" /></p>
- <p class="alignRight"><a href="./xsd?type={$CurrentType}&amp;raw=1">View Xsd</a></p>
+ <p class="alignRight"><a href="javascript:window.location.href += '&amp;raw=1';" >View Xsd</a></p>
<br />
<div class="method" >
View
3 mythtv/html/xslt/service.xslt
@@ -20,7 +20,8 @@
</div>
<hr />
<p class="alignLeft"><xsl:value-of select="/w:definitions/w:service/w:documentation/text()" /></p>
- <p class="alignRight"><a href="./wsdl?raw=1">View Xsd</a></p>
+ <p class="alignRight"><a href="javascript:window.location.href += '?raw=1';" >View Wsdl</a></p>
+
<br />
<xsl:apply-templates select="/w:definitions/w:portType/w:operation" />

0 comments on commit 6a0e4a2

Please sign in to comment.