[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Coordination of <script> between SVG, XSLT 1.1 and HTML 4.01

  • From: "Arnold, Curt" <Curt.Arnold@h...>
  • To: "'xml-dev@l...'" <xml-dev@l...>
  • Date: Sat, 03 Mar 2001 01:06:34 -0700

svg xslt
Sorry, I haven't see an implements-uri attribute before which I would assume has identical semantics to the implements attribute I was suggesting.  The XSLT 1.1 working draft had a implements-prefix
attribute and I hadn't been following the XSL-list discussion.

Though using implements-prefix would save an XSLT author some keystrokes, using a namespace prefix instead of an namespace uri to identify script functionality in SVG would make generation of SVG
using XSLT difficult since there is no control over what prefix is assigned to a particular namespace.

Definitely, it is a little circular:

1. SVG could also benefit from allowing redundant implementations of a specific package of behaviors identified by a namespace.
2. XSLT may be used to generate SVG and does not provide a mechanism to output the prefix associated with a namespace.
3. Therefore, a uri should be used to identify the package of behaviors in SVG.
4. XSLT's <script> should be consistent with SVG's script
5. Therefore, XSLT should use a namespace URI instead of a namespace prefix.

I guess what was suggesting was:

<xsl:stylesheet xmlns:foo="http://www.example.com/XSLT-behavior/date-format" ... /> 
  <xsl:script 
implements="http://www.example.com/XSLT-behavior/date-format" 
              type="application/java-archive" src="jar:http://www.foo.com/bar/baz.jar!/COM/foo/Quux.class" /> 

where the URL format came from the documentation JarURLConnection in the JDK.

I did find a reference for a list of registered media types:

	ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types


However, media types image/svg+xml and text/ecmascript used in SVG did not appear to be registered nor did application/java-archive.


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.