Woden
  1. Woden
  2. WODEN-196

WSDL-viewer: empty 'small' element

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tools
    • Labels:
      None

      Description

      WSDL viewer generates in some cases empty 'small' HTML elements (start tag & end tag - with no text between the tags) in message detail information. Browser is not able to render this construct correctly and instead decreases the size of characters.

      1. wsdl-viewer.xsl
        90 kB
        Kamil Soltys

        Activity

        Hide
        Rahul Panchabhai added a comment -

        How do I reproduce this issue?

        Show
        Rahul Panchabhai added a comment - How do I reproduce this issue?
        Hide
        Kamil Soltys added a comment -

        I have the same Issue.
        You can reproduce it for a sample if you generate anonyme content types.

        In transformation
        ...
        <small style="color:blue">
        <xsl:value-of select="$RECURSIVE"/>
        </small>
        ...

        will transform if variable RECURSIVE is empty to this:

        ...
        <small style="color:blue"/>
        ...

        I have fixed this temporary for me on this way:

        ...
        <small style="color:blue">
        <xsl:text> </xsl:text>
        <xsl:value-of select="$RECURSIVE"/>
        </small>
        ...

        My whole changes to single file transformation Version 3.1.02 (from http://tomi.vanek.sk/xml/wsdl-viewer.xsl) from Tomi Vanek will i append later.

        Show
        Kamil Soltys added a comment - I have the same Issue. You can reproduce it for a sample if you generate anonyme content types. In transformation ... <small style="color:blue"> <xsl:value-of select="$RECURSIVE"/> </small> ... will transform if variable RECURSIVE is empty to this: ... <small style="color:blue"/> ... I have fixed this temporary for me on this way: ... <small style="color:blue"> <xsl:text> </xsl:text> <xsl:value-of select="$RECURSIVE"/> </small> ... My whole changes to single file transformation Version 3.1.02 (from http://tomi.vanek.sk/xml/wsdl-viewer.xsl ) from Tomi Vanek will i append later.
        Hide
        Kamil Soltys added a comment -

        changed Version 3.1.02 for rendering problems in small tags

        Show
        Kamil Soltys added a comment - changed Version 3.1.02 for rendering problems in small tags
        Hide
        Kamil Soltys added a comment -

        I have found a solution.
        The problem is output method of transformation. It is set to "xml".

        I rolled back all changes and changed just xml output method to "html" and everithing seems to be ok now.

        Show
        Kamil Soltys added a comment - I have found a solution. The problem is output method of transformation. It is set to "xml". I rolled back all changes and changed just xml output method to "html" and everithing seems to be ok now.

          People

          • Assignee:
            Tomi Vanek
            Reporter:
            Tomi Vanek
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development