Re: [xml-dev] DSDL part 9: new namespace declarations not needed
by John Cowan other posts by this author
Jun 17 2002 7:41PM messages near this date
Re: [xml-dev] DSDL part 9: new namespace declarations not needed
|
Re: [xml-dev] DSDL part 9: new namespace declarations not needed
as part of DTD syntax?
Dennis Sosnoski scripsit:
>
> This *does* look really nice - very concise, and easy to understand. I
> hadn't looked at the compact format for RELAX NG before. Okay, I'll sign
> up for replacing DTDs with RELAX NG, especially when/if the compact
> syntax can be used interchangably with the XML version.
The compact syntax can be used for validation today. If you want to process
your schema with XSLT or something, then you can convert from the compact syntax
to the XML syntax, process, and validate using the XML syntax.
Currently there is no way to get back to the compact syntax, but
debugging the XML syntax is not hard.
> Incidentally, the whole approach to validating documents currently used
> by most parsers (get a document, find and parse the schema, interpret
> the schema against the document to validate) seems kind of bizarre to
> me. It's very inefficient, and it also creates the opportunity for
> disaster from changing the schema without changing the program to match
> ("the schema is not the application", to coin a paraphrase...).
RELAX NG encourages you to treat the schema as declarative code, as XSLT
processors do with stylesheets. There is no standard way to
declare the schema associated with a document, leaving it to the
receiver to decide which schema, if any, to apply.
--
John Cowan <jcowan@[...].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_
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>
Thread:
John Cowan
Marcus Carr
Eric Bohlman
Marcus Carr
james anderson
james anderson
james anderson
Marcus Carr
Arjun Ray
Marcus Carr
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Deborah Aleyne Lapeyre
John Cowan
Thomas B. Passin
Ronald Bourret
Ronald Bourret
Michael Kay
Thomas B. Passin
james anderson
David Carlisle
james anderson
David Carlisle
james anderson
David Carlisle
james anderson
Michael Kay
james anderson
David Carlisle
Tim Bray
Ronald Bourret
Ronald Bourret
Ronald Bourret
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
John Cowan
John Cowan
james anderson
John Cowan
Rick Jelliffe
Arjun Ray
John Cowan
Rick Jelliffe
Rick Jelliffe
Dennis Sosnoski
John Cowan
Dennis Sosnoski
John Cowan
Dennis Sosnoski
Arjun Ray
G. Ken Holman
John Cowan
Arjun Ray
james anderson
Arjun Ray
John Cowan
Arjun Ray
Rick Jelliffe
John Cowan
Arjun Ray
John Cowan
John Cowan
james anderson
John Cowan
james anderson
james anderson
John Cowan
james anderson
james anderson
John Cowan
Ronald Bourret
Ronald Bourret
Jonathan Borden
Ronald Bourret
Michael Fuller
John Cowan
Bob Hutchison
james anderson
Thomas B. Passin
John Cowan
Ronald Bourret
John Cowan
Thomas B. Passin
Ronald Bourret
Ronald Bourret
james anderson
Norman Walsh
K. Ari Krupnikov
John Cowan
John Cowan
K. Ari Krupnikov
John Cowan
G. Ken Holman
Ronald Bourret
Rick Jelliffe
John Cowan
Marcus Carr
G. Ken Holman
John Cowan
Michael Fitzgerald
Paul Prescod
John Cowan
John Cowan
|