W3C home > Mailing lists > Public > public-css-testsuite@w3.org > January 2010

RE: Validating microsoft tests

From: Robert Stam <robert@tallcomponents.com>
Date: Wed, 27 Jan 2010 09:25:41 -0600
Message-ID: <31DBA4F3A35EEE408177B6D1E50A4C5002307DA1@34093-C9-EVS1.exchange.rackspace.com>
To: <public-css-testsuite@w3.org>
Cc: "fantasai" <fantasai.lists@inkedblade.net>
Hi,

Found some more remarks for the public version MS made available at:
http://samples.msdn.microsoft.com/ietestcenter/css.htm


Validate error: The element 'body' in namespace
'http://www.w3.org/1999/xhtml' has incomplete content. List of possible
elements expected: 'h1, h2, h3, h4, h5, h6, ul, ol, dl, p, div, pre,
blockquote, address, hr, table, form, fieldset, ins, del, script,
noscript' in namespace 'http://www.w3.org/1999/xhtml'. 
Complete with validating [1 errors and 0 warnings]
File = .\Microsoft TestSuite Final\support\html-attribute-017-frame.htm
--------------------------------------------------------------
The document is NOT well formed: Name cannot begin with the '1'
character, hexadecimal value 0x31. Line 18, position 14.
File = .\Microsoft TestSuite
Final\CSS\chapter_5\Rules\attribute-value-selector-004.htm
--------------------------------------------------------------
Validate error: The 'id' attribute is invalid - The value '-div1' is
invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:ID'
- Name cannot begin with the '-' character, hexadecimal value 0x2D. 
Complete with validating [1 errors and 0 warnings]
File = .\Microsoft TestSuite
Final\CSS\chapter_5\Rules\ID-selector-002.htm
--------------------------------------------------------------
Validate error: The 'id' attribute is invalid - The value '1digit' is
invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:ID'
- Name cannot begin with the '1' character, hexadecimal value 0x31. 
Complete with validating [1 errors and 0 warnings]
File = .\Microsoft TestSuite
Final\CSS\chapter_5\Rules\ID-selector-005.htm
--------------------------------------------------------------
Validate error: The 'class' attribute is invalid - The value '?????' is
invalid according to its datatype
'http://www.w3.org/2001/XMLSchema:NMTOKENS' - The '?' character,
hexadecimal value 0xFF6E, cannot be included in a name. 
Complete with validating [1 errors and 0 warnings]
File = .\Microsoft TestSuite
Final\CSS\chapter_4\Rules\at-charset-035.htm
--------------------------------------------------------------
Validate error: The 'class' attribute is invalid - The value '?????' is
invalid according to its datatype
'http://www.w3.org/2001/XMLSchema:NMTOKENS' - The '?' character,
hexadecimal value 0xFF6E, cannot be included in a name. 
Complete with validating [1 errors and 0 warnings]
File = .\Microsoft TestSuite
Final\CSS\chapter_4\Rules\at-charset-036.htm
--------------------------------------------------------------
The document is NOT well formed: Invalid character in the given
encoding. Line 11, position 14.
File = .\Microsoft TestSuite
Final\CSS\chapter_4\Rules\at-charset-061.htm
--------------------------------------------------------------
Validate error: The 'class' attribute is invalid - The value
'1st'Class'' is invalid according to its datatype
'http://www.w3.org/2001/XMLSchema:NMTOKENS' - The ''' character,
hexadecimal value 0x27, cannot be included in a name. 
Complete with validating [1 errors and 0 warnings]
File = .\Microsoft TestSuite
Final\CSS\chapter_4\Rules\escaped-ident-002.htm
--------------------------------------------------------------
The document is NOT well formed: Name cannot begin with the '-'
character, hexadecimal value 0x2D. Line 18, position 14.
File = .\Microsoft TestSuite Final\CSS\chapter_4\Rules\ident-001.htm
--------------------------------------------------------------
Validate error: The '_underscore' attribute is not declared. 
Complete with validating [1 errors and 0 warnings]
File = .\Microsoft TestSuite Final\CSS\chapter_4\Rules\ident-002.htm
--------------------------------------------------------------
The document is NOT well formed: Name cannot begin with the '-'
character, hexadecimal value 0x2D. Line 18, position 14.
File = .\Microsoft TestSuite Final\CSS\chapter_4\Rules\ident-003.htm
--------------------------------------------------------------
The document is NOT well formed: Name cannot begin with the '1'
character, hexadecimal value 0x31. Line 18, position 14.
File = .\Microsoft TestSuite Final\CSS\chapter_4\Rules\ident-004.htm
--------------------------------------------------------------
The document is NOT well formed: Name cannot begin with the '-'
character, hexadecimal value 0x2D. Line 18, position 14.
File = .\Microsoft TestSuite Final\CSS\chapter_4\Rules\ident-005.htm
--------------------------------------------------------------
Reported 13 invalid documents.



Best Regards,
Robert Stam
 
TallComponents
Follow us @ twitter: http://twitter.com/tallcomponents


> -----Original Message-----
> From: public-css-testsuite-request@w3.org
[mailto:public-css-testsuite-
> request@w3.org] On Behalf Of Robert Stam
> Sent: Wednesday, January 27, 2010 4:17 PM
> To: fantasai; public-css-testsuite@w3.org
> Subject: RE: Validating microsoft tests
> 
> Hi ~fantasai,
> 
> What about the css\chapter_4\Rules\ident-001.htm to 005.htm files
> available in the public MS tests?
> As well as: css\chapter_5\Rules\attribute-value-selector-004.htm
> 
> These tests have attributes that starts with a hyphen or a digit.
> I assume that that's not well formed as well.
> 
> 
> Best Regards,
> Robert Stam
> 
> TallComponents
> Follow us @ twitter: http://twitter.com/tallcomponents
> 
> > -----Original Message-----
> > From: public-css-testsuite-request@w3.org
> [mailto:public-css-testsuite-
> > request@w3.org] On Behalf Of fantasai
> > Sent: Wednesday, January 27, 2010 4:06 PM
> > To: public-css-testsuite@w3.org
> > Subject: Validating microsoft tests
> >
> > The following tests are not well-formed:
> >
> > at-charset-061.xht
> >    This triggers an encoding error in the validator. You probably
> should
> >    put those Shift-JIS bytes in as numbered character entities. As
> long
> >    as you don't put the <style> contents in a CDATA section, they
> should
> >    parse into memory as the bytes you want (when parsed as XML).
> >
> > control-characters-001.xht
> > white-space-control-characters-001.xht
> >    The validator complains about these having invalid xmlChars, and
it
> >    doesn't parse as XML. You'll need to find some other way of
putting
> >    these control characters into the document. Maybe using the DOM.
> >
> > table-intro-example-*
> >    These are missing lots of internal table element end tags.
> >
> > overflow-applies-to-004.xht
> >    This one has two <body> tags.
> >
> > html-attribute-023.xht
> >    This one uses a boolean attribute in shorthand, but in XML they
> must
> >    be written out in full.
> >    Also, looking at the test, I don't think it's testing what the
> assert
> >    says it's testing. To test noshade, you need to compare not the
> color,
> >    but the style. The noshade attribute indicates a solid (as
opposed
> to
> >    carved-looking) rule, not a color or the ability to take color.
> >
> > ~fantasai
> 
> 
Received on Wednesday, 27 January 2010 15:26:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:52:01 GMT