W3C home > Mailing lists > Public > www-dom-ts@w3.org > January 2003

whatToShow

From: Jeroen van Rotterdam <jvrdam@xs4all.nl>
Date: Tue, 21 Jan 2003 00:24:14 +0100 (CET)
Message-ID: <24220.62.163.200.245.1043105054.squirrel@webmail.xs4all.nl>
To: www-dom-ts@w3.org

In interface DOMBuilderFilter

     readonly attribute unsigned long   whatToShow;

     <whatToShow interface="DOMBuilderFilter">
        <return value="SHOW_ELEMENT"/>
     </whatToShow>

still delivers a

     public void setWhatToShow() {
     }


instead of a getter in test-to-java.xsl.
The dtd is ok now but the stylesheet not.


It's probably around here in the stylesheet where the test must be incorrect.



             <xsl:choose>
                    <xsl:when test="local-name() = 'get'">
                        <xsl:call-template name="produce-type">
		                    <xsl:with-param name="type"
select="$interface/attribute[@name =
$method-name]/@type"/>
	                    </xsl:call-template>
                        <xsl:text> get</xsl:text>
                    </xsl:when>
                    <xsl:otherwise>void set</xsl:otherwise>
                </xsl:choose>



By the way Curt, thanks for the all the fixes so far.

Best regards,

Jeroen

=====
X-Hive Corporation
Jeroen van Rotterdam, CEO
e-mail: jeroen@x-hive.com
phone: +31 10 2818080
http://www.x-hive.com
Received on Monday, 20 January 2003 18:24:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:06 UTC