W3C home > Mailing lists > Public > www-talk@w3.org > March to April 2005

VC:Standalone Document Declaration

From: Stephen Suen <stephen@arcturus.com.cn>
Date: Tue, 29 Mar 2005 02:35:51 +0800
Message-ID: <001f01c533c4$f82925e0$ef00a8c0@arcturus.com.cn>
To: <www-talk@w3.org>

XML spec states following VC:Standalone Document Declaration:
"The standalone document declaration MUST have the value "no" if any external markup declarations contain declarations of:

element types with element content, if white space occurs directly within any instance of those types."

but why so many tools don't report such error? Did I misunderstood the statement?

sample xml document:

<?xml version='1.0' standalone='yes' ?>
<!DOCTYPE animal SYSTEM "ibm32i04.dtd" [
<!ATTLIST animal xml:space (default|preserve) 'preserve'>
<!-- This is against VC: Standalone Document Declaration in P32
The standalone document declaration has the value "yes", there is an 
external markup declaration of element with a element only content type, and 
white space occurs directly within the mixed content.
<animal><a>This is a 

yellow tiger</a> <b/>


Thanks for any help.

Stephen Suen
Received on Monday, 28 March 2005 22:17:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:06 UTC