W3C home > Mailing lists > Public > www-dom-ts@w3.org > November 2002

Matrix: test-matrix

From: Philippe Le Hegaret <plh@w3.org>
Date: 26 Nov 2002 17:53:40 -0500
To: www-dom-ts@w3.org
Message-Id: <1038351220.25065.563.camel@jfouffa>

While producing the matrix for DOM Level 2 HTML, I realized that
whitespaces were wrongly normalized and the produced title attribute in
the matrix contains lots of errors. The HTML produced wasn't valid
either so I took the opportunity to make it XHTML 1.0 valid. Here are
the proposed changes (there is still a problem with bibref btw):

dom2-combine.xsl:
[[
110c110
<               <xsl:value-of select="normalize-space(.)"/>
---
>               <xsl:value-of select="."/>
]]

test-matrix.xsl:
[[
24c24,26
<      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
---
>      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>      xmlns="http://www.w3.org/1999/xhtml"
>      exclude-result-prefixes="rdf dc">
32c34,40
<       <xsl:output method="html"/>
---
>   <xsl:output
>     method="xml"
>     encoding="us-ascii"
>     omit-xml-declaration="yes"
>     doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
>     doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>               />
59,60c67,68
<                     <table col="3" border="1">
<                         <thead>Methods with no corresponding test metadata</thead>
---
>                     <table border="1">
>                         <thead><tr><th>Methods with no corresponding test metadata</th></tr></thead>
70,71c78,79
<                     <table col="3" border="1">
<                         <thead>Attributes with no corresponding test metadata</thead>
---
>                     <table border="1">
>                         <thead><tr><th>Attributes with no corresponding test metadata</th></tr></thead>
85c93
<                       <table border="1" cols="2">
---
>                       <table border="1">
110c118
<                                         <a href="{$featureURI}" title="{descr}">
---
>                                         <a href="{$featureURI}" title="{normalize-space(descr)}">
137c145
<                                         <a href="$featureURI" title="{descr}">
---
>                                         <a href="$featureURI" title="{normalize-space(descr)}">
159c167
<                 <table border="1" cols="2">
---
>                 <table border="1">
188c196
<                                         <p color="red">No subjects defined for test</p>
---
>                                         <p style='color:red'>No subjects defined for test</p>
226c234
<                     <a href="{concat($specURI,@id)}" title="{descr}">
---
>                     <a href="{concat($specURI,@id)}" title="{normalize-space(descr)}">
]]

objections to commit those changes?

Philippe
Received on Tuesday, 26 November 2002 17:53:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:47 GMT