Re: Ready for the Big Time!

From: Karl Ove Hufthammer (huftis@bigfoot.com)
Date: Sun Apr 21 2002 - 11:03:21 EDT

  • Next message: Rui Miguel Silva Seabra: "Re: Next Generation Containers."

    Rui Miguel Silva Seabra <rms@1407.org> wrote in
    news:1019400460.3039.76.camel@roque:

    > This is an IE bug, if you're talking about Microsoft's
    > bugzilla, go ahead :)

    No, it's not. I have test three different XML parsers and all
    report the same error. I have also studied the DTD, and *has*
    incorrect syntax. You don't have to believe me; I encourage you to
    check with the official XML specification yourself. Here's the
    relevant section <URL: http://www.w3.org/TR/REC-xml#elemdecls >:

    [45] elementdecl ::= '<!ELEMENT' S Name S contentspec S? '>' [VC: Unique Element Type Declaration]
    [46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children

    And here's the relevant section from the 'DTD':

    <!ELEMENT iw CDATA>

    As you can see, 'contentspec' must be 'EMTPY', 'ANY', Mixed or
    children. And no, Mixed doesn't include 'CDATA'. A correct element
    type declaration could be:

    <!ELEMENT iw (#PCDATA)>

    But this doesn't fix the numerous other syntax errors in the DTD,
    nor that the DTD doesn't define some of the elements used in
    current AbiWord documents.

    -- 
    Karl Ove Hufthammer
    


    This archive was generated by hypermail 2.1.4 : Sun Apr 21 2002 - 11:05:39 EDT