W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2001

partial validation with Schema and DTD ??]]

From: anand awasthi <anand-awasthi@usa.net>
Date: 2 Feb 2001 10:16:49 MST
Message-ID: <20010202171649.20310.qmail@www0a.netaddress.usa.net>
To: xmlschema-dev@w3.org
hi,

I konw that i can refer both to DTD and schema from same xml document (using
DOCTYPE and schemanamespaces)..

But my question was different....sorry my fault.....ok let me reframe my
question...

lets say i have any xml document which has 4 elements...now Is there any way
that I can keep some xml validations(lets say validation for 2 elelments ) in
schema and other xml validations in DTD ...pls dont annoy at me...i have
bsuiness requiremnt from my client like this only....i cant help it.....

i have heard it some where that some parsers provide partial validation but i
am using xerces parser...


plz help me....

thanks















____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

attached mail follows:


hi,

I konw that i can refer both to DTD and schema from same xml document (using
DOCTYPE and schemanamespaces)..

But my question was different....sorry my fault.....ok let me reframe my
question...

lets say i have any xml document which has 4 elements...now Is there any way
that I can keep some xml validations(lets say validation for 2 elelments ) in
schema and other xml validations in DTD ...pls dont annoy at me...i have
bsuiness requiremnt from my client like this only....i cant help it.....

i have  heard it some where that some parsers provide partial validation but i
am using xerces parser...


plz help me....

thanks






  






ht@cogsci.ed.ac.uk (Henry S. Thompson) wrote:
DTD processing and XML Schema processing are completely independent,
hence combinable:  just make sure your schema processor includes a
validating XML parser as its first stage.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
Received on Friday, 2 February 2001 12:16:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:50 UTC