W3C home > Mailing lists > Public > xml-editor@w3.org > January to March 2014

Re: Clarify that documents with DOCTYPE but without markup declaration are not subject to validation

From: Jirka Kosek <jirka@kosek.cz>
Date: Tue, 21 Jan 2014 15:17:08 +0100
Message-ID: <52DE8164.3050309@kosek.cz>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
CC: xml-editor@w3.org
On 19.1.2014 21:29, Leif Halvard Silli wrote:
> Therefore, my proposal is to extract rules or guidance for what to do 
> when the DOCTYPE declaration points to no markup declaration and place 
> this into the 6th edition of XML. (Or to put it differently: define 
> what to do when the DOCTYPE lacks an internal or external DTD.) 

I don't think this makes sense. Whether validation is done is decided
not by document itself, but by processor you use -- in terms of XML 1.0
spec you can use validating or non-validating processor.

If some tool triggers validating mode on encountering <!DOCTYPE> then I
suggest appraoching developers of such tool and ask for some option that
will allow control of such behaviour.

I don't think that behaviour you describe is generic and is implied by
statements in XML 1.0 spec.

  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
    Bringing you XML Prague conference    http://xmlprague.cz

Received on Tuesday, 21 January 2014 14:17:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 21 January 2014 14:17:55 UTC