W3C home > Mailing lists > Public > www-validator@w3.org > February 2003

Re: question on validating links from databases

From: Kynn Bartlett <kynn@idyllmtn.com>
Date: Tue, 25 Feb 2003 11:10:27 -0800
Cc: www-validator@w3.org
To: "Pamela K Peters" <pkpeters@unlnotes.unl.edu>
Message-Id: <CCB5A756-48F4-11D7-9331-000393D9E692@idyllmtn.com>

The trick is to get the database pages to output a correctly escaped
URI.  I don't see why you'd want to reprogram the validator to pass
invalid code as valid, when the problem is the database output code.

--Kynn

On Tuesday, February 25, 2003, at 10:16 AM, Pamela K Peters wrote:

>
> When using the W3C MarkUp Validation Service I receive errors on my  
> files because of the URIs from database pages. Since using a database  
> is quite prevalent, could the validator be written to ignore the  
> href="....." string? The file, except for URIs is compliant, so the  
> "This page is not Valid HTML 4.01 Transitional!" is not correct.
>
> Example from my file:
> 49: <a  
> href="http://telecom.unl.edu/equipment/ 
> equipment_director.asp?cind=1&grp=Telephone" class="leftnav">Telephone
>
> Below are the results of attempting to parse this document with an  
> SGML parser.
> Line 49, column 74: cannot generate system identifier for general  
> entity "grp"
> ...ipment/equipment_director.asp?cind=1&grp=Telephone"  
> class="leftnav">Telephone
>                                           ^
>
> Line 49, column 74: general entity "grp" not defined and no default  
> entity (explain...).
> ...ipment/equipment_director.asp?cind=1&grp=Telephone"  
> class="leftnav">Telephone
>                                           ^
>
> Line 49, column 77: reference to entity "grp" for which no system  
> identifier could be generated
> ...ipment/equipment_director.asp?cind=1&grp=Telephone"  
> class="leftnav">Telephone
>                                              ^
>
> Line 49, column 73: entity was defined here
> ...uipment/equipment_director.asp?cind=1&grp=Telephone"  
> class="leftnav">Teleph..
>
> Thank you for considering this.
>
>
> ******************************************************************
> Pamela K. Peters
> University of Nebraska - Lincoln
> pkpeters@unlnotes.unl.edu
Received on Tuesday, 25 February 2003 14:08:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:05 GMT