W3C home > Mailing lists > Public > public-xml-id@w3.org > April 2005

Re: test case 10 possible issue

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Fri, 08 Apr 2005 13:58:27 -0400
To: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Cc: public-xml-id@w3.org
Message-id: <87u0mhgngc.fsf@nwalsh.com>
/ Elliotte Rusty Harold <elharo@metalab.unc.edu> was heard to say:
| xml:id test case 10 is:
|
| <!DOCTYPE doc [
| <!ATTLIST para
| 	id ID #IMPLIED
| 	ref IDREF #IMPLIED
|  >
| ]>
| <doc>
|   <para id="id1" xml:id="id2"/>
|   <para ref="is2"/>
| </doc>
|
| This document is invalid. Is it supposed to be or is "is2" a typo? Should that
| be "id2"?

Yes.

| Assuming that's the case, what exactly are we testing here? Do we expect a
| validating parser to accept this document? Or should we somehow test that the
| references infoset property is updated?

The test is probably redundant. My idea was to test that IDREF works,
but I'm not sure that's really practical.

                                        Be seeing you,
                                          norm

-- 
Norman.Walsh@Sun.COM / XML Standards Architect / Sun Microsystems, Inc.
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

Received on Friday, 8 April 2005 17:58:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:49 UTC