Next in thread → Next in month →

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

From
John Cowan <>
To
Date
2002-06-17T17:58:09Z
ID
<>
Thread
Re: [xml-dev] DSDL part 9: new namespace declarations not needed as part of DTD syntax?
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 <>     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_
Next in thread → Next in month →