[CL] Namespaces in CLIF
Chris Welty
cawelty at gmail.com
Thu Dec 27 07:42:33 CST 2007
Bill,
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.
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 had
> 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?
-Chris
PS Happy new year
>
> A less-satisfactory, but possible, route would be to embed either the
> XML NS attributes in comments for processing by a non-compliant parser.
>
> Obviously, since CLIF has nothing to do with XML, there would have to
> be some escape route for CLIF documents that have no interest in
> namespaces or URIs for names -- namely not requiring namespaces for
> CLIF documents that have no need for them.
> _______________________________________________
> CL mailing list
> CL at philebus.tamu.edu
> http://philebus.tamu.edu/mailman/listinfo/cl
>
--
Dr. Christopher A. Welty IBM Watson Research Center
+1.914.784.7055 19 Skyline Dr.
cawelty at gmail.com Hawthorne, NY 10532
http://www.research.ibm.com/people/w/welty
More information about the CL
mailing list