- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 30 Apr 2007 14:18:00 +0000
- To: www-validator-cvs@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=800
ot@w3.org changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #467 is|0                           |1
           obsolete|                            |
------- Comment #7 from ot@w3.org  2007-04-30 14:17 -------
Created an attachment (id=468)
 --> (http://www.w3.org/Bugs/Public/attachment.cgi?id=468&action=view)
Amended Patch, using XML mode as trigger, matching error number rather than
text
Shane, thanks a lot, your patch looks like a good solution. 
I am attaching a patch with a couple proposed modifications:
* use $File->{Mode} eq 'XML' as trigger rather than an option always set to
TRUE, so that usage of xmlns prefix in SGML/HTML mode trigger (correct) errors
* match the internal opensp error message code for the attribute, rather than
the text of the error message - which should hopefully be a little more robust
(opensp is localized in a few languages, so the error message text could be
different)
Received on Monday, 30 April 2007 14:18:10 UTC