- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 09 Jun 2009 14:40:41 +0000
- To: www-validator-cvs@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7007
Summary: WFC Entity Declared and standalone documents
Product: Validator
Version: HEAD
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Parser
AssignedTo: dave.null@w3.org
ReportedBy: scampa.giovanni@gmail.com
QAContact: www-validator-cvs@w3.org
While validating an XML document, the violation of WFC Entity Declared (
http://www.w3.org/TR/xml/#wf-entdeclared ) is not reported if the entity is
declared in the external subset, even if the document is declared as
"standalone=yes".
An example of this behaviour:
<?xml version="1.0" encoding="uft-8" standalone="yes"?>
<!DOCTYPE test SYSTEM "http://example.org/test.dtd"><test>&test;</test>
where test.dtd contains:
<!ENTITY test "test content">
<!ELEMENT test (#PCDATA)*>
is considered valid by the markup validator, but it should be a Fatal Error
according to XML, because the document is not well-formed (and thus cannot be
valid).
(Tested using the version online at validator.w3.org)
--
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 Tuesday, 9 June 2009 14:40:48 UTC