[Bug 8697] New: Validation of schema extensions in HTML documents

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8697

           Summary: Validation of schema extensions in HTML documents
           Product: Validator
           Version: 0.8.5
          Platform: PC
               URL: http://test.malden-dsme.co.uk/public/homepage/index.asp
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5
        AssignedTo: dave.null@w3.org
        ReportedBy: martinwbaker@yorkdevres.co.uk
         QAContact: www-validator-cvs@w3.org


Validating document http://test.malden-dsme.co.uk/public/homepage/index.asp
reports two errors - one regarding an <hr /> - this is valid and please ignore.

The second error relates to an attribute declared in a custom namespace.  It
seems that the validator completely ignores the xmlns:ydr declaration in the
<html> tag - for if you put an invalid url there you get no validation error.

As a result of ignoring the xmlns:ydr validation it then goes on to complain
that an attribute created under that schema is invalid.

(The xsd validates OK with your XSD validator.)

(It may well be that I have errors in the way I am using the xsd - I can
resolve this once the validator is recognising the namespace).

I can confirm that the use of the namespace works absolutely fine with Internet
Explorer, Chrome and Firefox, and with each of these browsers an error is
reported (correctly) if the namespace declaration is missing from <html>


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 10 January 2010 08:51:37 UTC