Re: XML parsing error

just realized i forgot topaste the example --- here it comes
note the lack of a space in the image element -- that is the key!

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Spacing Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<img src="foobar.gif"alt="special picture" />
</body>
</html>


On 11 Jul 2003 at 12:19, John Russell wrote:

Date forwarded: 	Fri, 11 Jul 2003 12:19:13 -0400 (EDT)
From:           	"John Russell" <ve3ll@cogeco.ca>
To:             	www-amaya@w3.org
Date sent:      	Fri, 11 Jul 2003 12:19:53 -0400
Send reply to:  	ve3ll@rac.ca
Priority:       	normal
Subject:        	XML parsing error
Forwarded by:   	www-amaya@w3.org

[ Double-click this line for list subscription options ] 


the following short file passes thru both w3.org and WDG validators
however Amaya 8.1a signals an error because of the omission
of a space after the quote mark....  is this 
1] a bug in the Amaya parser
2] a bug in the w3.org and wdg parsers
3] a grey area in the XHTML recommendation where the requirement
for spacing is vague....  tokenizers have no difficulty recognizing 
end/begin of these tokens and normal convention is to disregard
spacing except where absolutely required for correct tokenization. 

    ???     john in niagara canada--
 

John Russell, VE3LL@RAC.CA
http://home.cogeco.ca/~ve3ll (2 L's as in LLAMA)
check HTML at http://www.htmlhelp.com/tools/validator/
check CSS at http://jigsaw.w3.org/css-validator/
check JavaScript at http://www.crockford.com/javascript/jslint.html

--
 

John Russell, VE3LL@RAC.CA
http://home.cogeco.ca/~ve3ll (2 L's as in LLAMA)
check HTML at http://www.htmlhelp.com/tools/validator/
check CSS at http://jigsaw.w3.org/css-validator/
check JavaScript at http://www.crockford.com/javascript/jslint.html

Received on Friday, 11 July 2003 12:37:09 UTC