OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] DSDL part 9: new namespace declarations not needed as part

[ Lists Home | Date Index | Thread Index ]

Arjun Ray scripsit:

> Before you apply a validation DTD to an instance, how do you know whether
> it is even appropriate to do so,

Okay, this is what conflicts lawyers call the "problem of characterization":
how can you apply rules that are appropriate for objects of type X until
you have decided which rules should tell you what is and is not an
object X!

If your application accepts only one document type, then you can
write a schema (in RNG, the union of two schemas is always a schema)
that describes that document type.  If you accept more than one document
type, you may have to use some sort of probe to determine which document
type this instance might conform to; this could constitute a full
validation or something smaller.

-- 
John Cowan <jcowan@reutershealth.com>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS