Re: [exslt-manage] xmlns:exslt
Uche Ogbuji <[email protected]>
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Organization | Fourthought, Inc. |
| Message-ID | <1088519799.6047.18401.camel@borgia> |
On Mon, 2004-06-14 at 15:20, Daniel Stodden wrote: > hi. > > i may be nuts, but could it be that most (all) of the stylesheet modules > importing js implementations via func:script in the distribution package > are missing a definition of the exslt namespace? > > e.g. > > <?xml version="1.0" encoding="utf-8"?> > <stylesheet > xmlns="http://www.w3.org/1999/XSL/Transform" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:func="http://exslt.org/functions" > xmlns:math="http://exslt.org/math" > version="1.0" > extension-element-prefixes="math" > math:doc="http://www.exslt.org/math"> > > <func:script language="exslt:msxsl" implements-prefix="math" > src="math.exp.msxsl.xsl"/> > <func:script language="exslt:javascript" implements-prefix="math" > src="math.exp.js"/> > > </stylesheet> > > so if exslt:javascript is supposed to be a qname, what URI does it refer > to? i suppose it's /common. > > is it? I looked through some function defs and I agree this is a significant problem. I had not noticed it because I implement EXSLT directly and I don't use the templates. All the templates should have the added namespace declaration, but I hesitate to make it http://exslt.org/common I think that has the effect of adding too much normative force to the languages used in the sample implementation scripts. I suggest instead http://exslt.org/non-normative/implementations Thoughts? -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://4Suite.org http://fourthought.com A survey of XML standards - http://www-106.ibm.com/developerworks/xml/library/x-stand4/ When to use elements versus attributes - http://www-106.ibm.com/developerworks/xml/library/x-eleatt.html Introducing PyRXP - http://www.xml.com/pub/a/2004/02/11/py-xml.html XML in the financial services industry - http://www-106.ibm.com/developerworks/xml/library/x-think22.html Python Web services developer: The real world, Part 2 - http://www-106.ibm.com/developerworks/webservices/library/ws-pyth16/ Keep your XML clean - http://www.adtmag.com/article.asp?id=9012