"Juergen Hermann" <[EMAIL PROTECTED]> writes:

> On Sat, 01 Sep 2001 11:24:40 +0200, Juergen Hermann wrote:
> 
> >>Two tests in oasis/ fail that should have passed:
> >>And two tests in oasis/ pass that should have failed:
> >
> >Well, I have 272 failures with strict checking, and that seems a little high 
> >to me. ;)
> 
> It is too high, for example, this test fails:
> 
> <TEST URI="invalid/id03.xml" ID="id03" SECTIONS="3.3.1" TYPE="invalid">
>     Tests the One ID per Element Type VC</TEST>
> 
> --- id03 Sun Microsystems XML Tests (cf. 3.3.1) ------------------------------
>     Tests the One ID per Element Type VC
> 
>  HI No error for invalid document reported
>     sun\invalid/id03.xml
>     None
> 
> 
> Now, given the test document below, I do NOT see how that tests the ID 
> constraints (given the fact there are no IDs at all).
> 
> 
> sun/invalid/id03.xml:
> 
> <!DOCTYPE root SYSTEM "../valid/sa.dtd" [
>     <!ATTLIST attributes
>       id2     ID      #IMPLIED
>       >
> ]>

Because ../valid/sa.dtd defines that ATTLIST of <attributes> to be:
    <!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
        >

So it already has an 'id' attribute of type ID. Looks like a failure
to me.

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to