
April 22nd, 2004, 05:15 AM
|
|
Registered User
|
|
Join Date: Apr 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
space in NMTOKEN ???
Hi, all!
Is the following valid?
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE aaa[
<!ELEMENT aaa (bbb)>
<!ELEMENT bbb EMPTY>
<!ATTLIST bbb ccc NMTOKEN #REQUIRED>
] >
<aaa>
<bbb ccc=" qw "/>
</aaa>
xmlspy 3.0 says "no".
http://validator.w3.org/ says "yes".
I was trying to find it out digging throw http://www.w3.org/TR/REC-xml/ but havn't succeeded.
|