Matrix: test-matrix

Philippe Le Hegaret <[email protected]>
Newsgroups gmane.comp.web.dom.test-suites.general
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.