[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XML Document - DOCTYPE vs Schema NS
Jeff, >Do you mean defined in xsi:schemaLocation? Yes, that is what I mean. Thank you for the information. -Jim -----Original Message----- From: jeffrafter@e... (Jeff Rafter) Sent: Monday, February 05, 2001 12:31 PM To: Jim Shain Cc: xml-dev@l... Subject: Re: XML Document - DOCTYPE vs Schema NS Jim, > 1. Is it valid for an XML document to have both a DOCTYPE tag and a schema > namespace? Yes. > 2. If it is valid, which takes precedence for validation purposes, the DTD > 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? Regards, Jeff Rafter Defined Systems http://www.defined.net
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|