Re: test case 10 possible issue

/ 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