David A. Desrosiers wrote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd>
    

  
It seems like the parser is unable to parse this line. When this line is
remove (by hand) plucker agrees to import the page into my palm.
    

	Isn't this supposed to be on three separate lines, prefixed by the
encoding type? If you pass that page to validator.w3.org, you might find
some clues.. Try changing it to this:


<!DOCTYPE HTML
	PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
	 "http://www.w3.org/TR/REC-html40/loose.dtd>
This should never be necessary.  Please refer to http://www.w3.org/TR/html4/struct/global.html for more information on the DOCTYPE tag.  Typically the second line starts with the URI, so the example  at the top is atypical (and so is the second one).  Since the specs go on to say,

 "User agents should interpret attribute values as follows:
  • Replace character entities with characters,
  • Ignore line feeds,
  • Replace each carriage return or tab with a single space."
I would have to say that it is not illegal as written.  I would have to regard this problem as a parser bug myself.

Ed


Reply via email to