[CL] Namespaces in CLIF
andersen at ontologyworks.com
Thu Dec 27 08:48:12 CST 2007
On Dec 27, 2007, at 08:42 , Chris Welty wrote:
> I think namespaces are "in there" in the sense that if you use the
> XML syntax
> any XML parser should understand them and "do the right thing".
> I'm not clear on what you mean other than that.
I think I said CLIF - no XCL allowed. CLIF names can be URIs, but
CLIF lacks the following:
* default namespace
* namespace scoping
* namespace abbreviation
Of course XCL, being XML, would have those things. Pat and I
discussed ways to get these info CLIF. One would be to embed the text
of the appropriate XML syntax unmodified and use a pre-processor to
recognize and process these.
> Bill Andersen wrote
>> Nope. Just 'formal' in terms of adding some productions to the
>> grammar of CLIF to handle it. As for what it might mean, I simply
>> equipping CLIF with mechanisms for namespace defaulting, binding, and
>> scoping. We don't have elements and attributes, but we have other
>> scoping mechanisms in CLIF.
> "Handle it"? Maybe you could give an example?
> I think of URIs as the result of a function on <ns,localname>, is it
> just that
> you want access to the individual parameters there within some theory?
That would be fun, but no...
Bill Andersen (andersen at ontologyworks.com)
Ontology Works, Inc. (www.ontologyworks.com)
3600 O'Donnell Street, Suite 600
Baltimore, MD 21224
More information about the CL