Re: Non SGML char errors with validator HEAD

Hello,

On Apr 28, 2007, at 08:05 , Ville Skyttä wrote:
> I'm running the HEAD validator locally (Fedora Core 6 x86_64,  
> OpenSP 1.5.2
> from Fedora Core, SGML::Parser::OpenSP 0.99 locally built), and I'm  
> getting
> non SGML char errors where validator-test nor qa-dev's HEAD setup  
> shows them.

I can confirm that my laptop setup (MacOS 10.4.9, OpenSP 1.5.2 built  
from source) displays the same behavior.

% onsgmls -gues -n -c ...validator/HEAD/htdocs/sgml-lib/xml.soc - 
wvalid -wnon-sgml-char-ref -wno-duplicate -wxml w3_org.xhtml
onsgmls:w3_org.xhtml:529:145:18158460.139:E: non SGML character  
number 155
onsgmls:w3_org.xhtml:529:145: open elements: html body[1] div[1] ul 
[1] li[1] a[1] span[1] (#PCDATA[1])
onsgmls:w3_org.xhtml:535:150:18158460.139:E: non SGML character  
number 150
onsgmls:w3_org.xhtml:535:150: open elements: html body[1] div[1] ul 
[1] li[1] a[1] span[1] (#PCDATA[1])
onsgmls:w3_org.xhtml:537:122:18158460.139:E: non SGML character  
number 149
onsgmls:w3_org.xhtml:537:122: open elements: html body[1] div[1] ul 
[1] li[1] a[1] span[1] (#PCDATA[1])
onsgmls:w3_org.xhtml:540:165:18158460.139:E: non SGML character  
number 153
[...]

> Ideas where to look for the problem?  I saw
> http://www.w3.org/Bugs/Public/show_bug.cgi?id=3164 but I gather it's
> supposedly already fixed in SPO 0.99, and I'm not sure if it's even  
> the same
> issue.

I think one of the causes of the problem is what was mentioned in  
comments 6 and 7 of
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3164
namely, that the "sgml declaration for xml 1.0" that is a little  
everywhere, including in the validator, is wrong on the 128-159  
character range.

Why the OpenSP on debian platform (which both qa-dev and validator- 
test use) does not report these, however, leaves me puzzled. A trace  
shows that it does read the xml.dcl. Go figure.

-- 
olivier

Received on Tuesday, 1 May 2007 17:44:42 UTC