[
Lists Home |
Date Index |
Thread Index
]
Thomas B. Passin scripsit:
> 1) Distinguish otherwise identical names within one document, like
> "your:truck" and "my:truck". We would barely need a namespace Rec for this
> one.
Granted, but the use of the Namespaces Rec facilities allows names to be
assigned in a single document by separate authorities, as long as nobody
assigns a namespace name for which they have no authority.
> 2) Allow you to apply syntactical rules for a namespaced element that are
> specified in another document. We can do this with present day XML
> Namespaces by, for example, validating with XML Schema.
This is more of an arbitrary WXS rule than anything else. In RELAX NG,
the namespace of a name and the schema document in which it is defined
or used is completely orthogonal. You can have single schema documents
that make use of names from many namespaces, and you can compose schemas
out of parts which contain names from one or more namespaces.
> 3) Allow you to apply semantic rules for a namespaced element that are
> specified in another document. 95% of the arguments in these threads are
> about the semantics, but XML is about syntax, not semantics. So can we just
> drop all these other arguments, please?
But this is XML-Dev, where out-of-scope discussions are in scope.
--
John Cowan <jcowan@reutershealth.com> http://www.ccil.org/~cowan
"One time I called in to the central system and started working on a big
thick 'sed' and 'awk' heavy duty data bashing script. One of the geologists
came by, looked over my shoulder and said 'Oh, that happens to me too.
Try hanging up and phoning in again.'" --Beverly Erlebacher
|