This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 378 - DOMUserData not accepted as valid type in L3 schemas
Summary: DOMUserData not accepted as valid type in L3 schemas
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 3 (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 03:01 UTC by Curt Arnold
Modified: 2003-11-18 08:37 UTC (History)
0 users

See Also:


Attachments

Description Curt Arnold 2003-11-18 03:01:01 UTC
DOMUserData is not in the enumeration of acceptible values for the type
attribute of the <var> element.
Comment 1 Curt Arnold 2003-11-18 03:37:48 UTC
Index: dom-to-xsd.xsl
===================================================================
RCS file: /sources/public/2001/DOM-Test-Suite/transforms/dom-to-xsd.xsl,v
retrieving revision 1.43
diff -u -r1.43 dom-to-xsd.xsl
--- dom-to-xsd.xsl	12 Nov 2003 06:59:02 -0000	1.43
+++ dom-to-xsd.xsl	18 Nov 2003 08:32:14 -0000
@@ -404,6 +404,7 @@
                         <xs:enumeration value="LSOutputStream"/>
                         <xs:enumeration value="LSReader"/>
                         <xs:enumeration value="LSWriter"/>
+                        <xs:enumeration value="DOMUserData"/>
                     </xsl:if>
 					<xsl:for-each select="$interfaces">
 						<xsl:sort select="@name"/>


build.xml (sorry was getting out of memory on patch generation)

<target name="dom3-dtd" depends="dom3-interfaces">
	<style in="${build.dir}/dom3-interfaces.xml"
	       out="${build.dir}/dom3.dtd"
	       style="${transforms.dir}/dom-to-dtd.xsl">
		<param name="schema-namespace"
		   expression="http://www.w3.org/2001/DOM-Test-Suite/Level-3"/>
		<param name="schema-location" expression="dom3.xsd"/>
-        <param name="additional-types"
expression="|LSInputStream|LSOutputStream|LSReader|LSWriter"/>
+        <param name="additional-types"
expression="|LSInputStream|LSOutputStream|LSReader|LSWriter|DOMUserData"/>