- From: Musachy Barroso <musachy@gmail.com>
- Date: Wed, 11 Aug 2004 23:39:21 +0000
- To: public-xml-testsuite@w3.org
Hi
I'm having problem with some tests in ../invalid/sun (I don't have the
exact list now but I will send it later), this is one of them
(not-sa04.xml):
<?xml version='1.0' standalone='yes'?>
<!DOCTYPE attributes SYSTEM "../valid/sa.dtd" [
<!--
attribute needs defaulting
-->
]>
<attributes/>
<?pi equals three?>
--------------------------------
and with this dtd:
--------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT root (child|attributes)*>
<!ELEMENT child (#PCDATA)>
<!ELEMENT attributes EMPTY>
<!ATTLIST attributes
token (a|b|c) "a"
notation (nonce|foo|bar) #IMPLIED
nmtoken NMTOKEN #IMPLIED
nmtokens NMTOKENS #IMPLIED
id ID #IMPLIED
idref IDREF #IMPLIED
idrefs IDREFS #IMPLIED
entity ENTITY #IMPLIED
entities ENTITIES #IMPLIED
cdata CDATA #IMPLIED
>
<!ENTITY internal " internal&number; ">
<!ENTITY number "42">
<!NOTATION nonce SYSTEM "file:/dev/null">
<!NOTATION foo PUBLIC "-//public id//foo" "file:/dev/null">
<!NOTATION bar SYSTEM "file:/dev/tty">
<!ENTITY unparsed-1 PUBLIC "-//some public//ID" "file:/dev/console"
NDATA nonce>
<!ENTITY unparsed-2 SYSTEM "scheme://host/data"
NDATA foo>
---------------------------------------------------------------------------
Here the conformance test is expecting the parser to accept the input
file as valid. Maybe I'm missing something but isn't that against the
VC in Sec 4.9? Besides that the header text of the test says that the
test must fail. (There are others related to this one)
thanks
musachy
--
"Hey you! Would you help me to carry the stone?"
Pink Floyd
Received on Thursday, 12 August 2004 10:43:08 UTC