W3C home > Mailing lists > Public > www-validator@w3.org > October 2002

Re: Beta: XML caveats disappeared

From: Terje Bless <link@pobox.com>
Date: Fri, 25 Oct 2002 08:54:36 +0200
To: W3C Validator <www-validator@w3.org>
cc: Bjoern Hoehrmann <derhoermi@gmx.net>
Message-ID: <a01060005-1021-9FCBC830E7E611D6AC5400039300CF5C@[193.157.66.10]>

Bjoern Hoehrmann <derhoermi@gmx.net> wrote:

>In the good old days the validator confessed it's limited XML support by
>pointing at http://www.jclark.com/sp/xml.htm IIRC. Since the XML support
>is obviously not any better than before, the not should be reassembled.

The limitations in OpenSP, the XML Parser we now use, are:

[[[
  OpenSP does not enforce the following XML constraints:

    * XML constrains processing instructions with a target matching
     [Xx][Mm][Ll], both in terms of where they can occur and their content.
    * XML does not allow a parameter separator that is adjacent to a
      delimiter to be omitted.
    * XML has constraints on the use of & in parameter literals. In SGML
      terms, XML says that the ero delimiter is recognized in a parameter
      literal, and that it must be followed by an entity reference, but
      the entity reference is not expanded. 

  Line ends are normalized using SGML conventions to a CR/LF character
  pair rather than using the XML convention of a single LF character.

  OpenSP does not enforce XML's rules on not continuing normal processing
  after an error. Applications can enforce these if they choose.


  Web SGML Adaptations Annex

    OpenSP's support for XML is based on Annex K of ISO 8879 (the Web
    SGML Adaptations Annex). The following features of Annex K are not
    yet implemented:

      * #IMPLICIT document type name
      * Attribute list declarations for #NOTATION #ALL and #NOTATION
        #IMPLICIT
      * #ALL and #IMPLICIT in model groups and exceptions
]]] - http://openjade.sf.net/doc/xml.htm

Neither of which are relevant to the case you cite, and for the most part
they are rather obscure bits AFAICT. That it does not detect leading
whitespace is simply a bug (unfortunately, it's one that doesn't look like
it will be fixed very soon).

-- 
Interviewer: "In what language do you write your algorithms?"
    Abigail: English.
Interviewer: "What would you do if, say, Telnet didn't work?"
    Abigail: Look at the error message.
Received on Friday, 25 October 2002 02:54:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:04 GMT