[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] Re: determining ID-ness in XML
- From: Tom Bradford <email@example.com>
- To: David Brownell <firstname.lastname@example.org>
- Date: Mon, 29 Oct 2001 13:12:22 -0700
On Monday, October 29, 2001, at 12:42 PM, David Brownell wrote:
> The XML spec doesn't say any such thing. In fact it's quite clearly
> possible to validate documents with no <!DOCTYPE ...> declaration
> (and get lots of errors). The conformance section of the XML spec
> describes validating parsers, and non-validating parsers, but not this
> "sometimes validates" behavior you describe.
Who said I was quoting the XML specification? The point I'm making is
that if you use a DOCTYPE and cite an element in an ATTLIST that isn't
otherwise declared, a validation pass should minimally warn you of this,
if not totally puke. Though it's legal as far as the XML spec is
concerned, it's ugly and generally generates bad karma.
> You may be confusing the XML standard with what Microsoft does
> in some of their implementations.
Ehem... Don't insult me. Seriously.