[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: XML Document - DOCTYPE vs Schema NS
- From: Jim Shain <Jim.Shain@alltel.com>
- To: "firstname.lastname@example.org" <email@example.com>
- Date: Mon, 05 Feb 2001 12:58 -0600
>Do you mean defined in xsi:schemaLocation?
Yes, that is what I mean.
Thank you for the information.
From: firstname.lastname@example.org (Jeff Rafter)
Sent: Monday, February 05, 2001 12:31 PM
To: Jim Shain
Subject: Re: XML Document - DOCTYPE vs Schema NS
> 1. Is it valid for an XML document to have both a DOCTYPE tag and a
> 2. If it is valid, which takes precedence for validation purposes, the
> specified in the DOCTYPE, or the schema defined in the namespace?
As I understand it the DTD. Schema validation comes after DTD validation
(if any). This is done to allow entities to be resolved before schema
validation. Of course some of this may be application specific.
> or the schema defined in the namespace?
Do you mean defined in xsi:schemaLocation? Or is your application
automatically resolving the namespace to a schema?