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

Re: <XML:SCRIPT>

  • From: Peter Murray-Rust <peter@u...>
  • To: <xml-dev@i...>
  • Date: Wed, 08 Jul 1998 21:59:06

javascript idn
Eliot,
	There seems to be either some magic or some implied semantics in your
processing. The following questions are asked from (my) ignorance:

At 14:16 08/07/98 -0500, W. Eliot Kimber wrote:

[...]
>
><?XML version="1.0"?>
><!DOCTYPE MyDoc [
>  <!NOTATION JavaScript PUBLIC "+//IDN netscape.com//NOTATION Java
>Script//EN" >
>...
>]>
>...
>
>This serves to connect the local name "JavaScript" to the formal
>specification that can presumably be found at the other end of the public
>identifier for the notation. By definition, the external ID for a notation
>is supposed to get you the human-readable definition of the notation. You

What automatic mechanism is available for finding a document at the end of:
	"+//IDN netscape.com//NOTATION JavaScript//EN"
Is there a set of maintained FPI servers like DNS? Because if not, an FPI
isn't very useful to me.

[...]

>When this document is processed, a processor can see that there is a
>notation attribute (that is an, attribute whose data type is "NOTATION"; by
>convention we normally use the attribute name "notation" as well, but
>that's not required).  It knows by the rules of XML/SGML that the named
>notation governs the interpretation of the element.  It looks up the
>notation information and sees the external ID for JavaScript (it must key
>off the external ID because the notation name JavaScript is a local name
>and could be anything--you can't depend on authors using the string
>"JavaScript", even though most will).  

Agreed. Is there a generally agreed way of writing portable code to do this? 

>
>It sees that there is a dll function or plug in or module or COM object or
>JavaBean associated with that name and passes the element to it (presumably

How does it do this (algorithmically)? This is the key question to which I
have been trying to get an answer - (although I want Java classes rather
than *.COM or *.dll which are platform-dependent). 

>a pointer to the in-memory representation of the element, or possibly the
>string representation of the element, depending on the nature of the
>processor). The notation processor then does whatever it does and comes
>back, returning whatever the interface between the main processor and the
>notation processor requires or allows.
>
>This is essentially what you do to process objects with different MIME
>types. The only difference is that notation types are not pre-defined or
>necessarily registered anywhere because notations are a more general
>facility than MIME types. You can associate notations with individual

The advantage of MIME types is that there is a well-defined mechanism in
current software for associating MIME types with software. AFAIK there is
no generally agreed and implemented mechanism for associating FPIs with
software. If there is, I'd love to know. It must, of course, be:
	- free
	- documented
	- easily available
	- platform independent.

Perhaps a related question is "which of the current crop of XML tools
associates NOTATION and FPI with software?"

	P.


Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.