RFC: Simple XML Event-Based API for Java

Peter Murray-Rust peter at ursus.demon.co.uk
Thu Dec 18 10:06:26 GMT 1997

At 03:35 18/12/97 -0500, Paul Prescod wrote:
>David Megginson wrote:
Thanks Paul,

>> I
>> thought that it made sense to use them directly instead of using a lot
>> of Url.toString() and new URL(String) calls 
>I think that all we are doing is shifting the "new URL(String)" calls
>from the processor to the application.

I think this is right - the "application" is going to have to do a lot of
additional testing for semantic validity. XLL is full of this problem. So I
think it will be very valuable to have *generic* modules that can be used
for this sort of thing. I see some of these as coming in a post-parser
(i.e. post-processor) and pre-application area. For example, it's
reasonable that an application shouldn't get passed:

<A XML-LINK="SIMPLE" HREF="htpp://www.some.where/myfile.xml" SHOW="Embed"
ACTUATE="New" behaviour="DISPLAY">My XML file</A>

This is a WF element, but contains a number of semantic errors (at least if
the application wishes to validate it against the XLL spec :-).
java.net.URL would catch one of them :-)


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

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

More information about the Xml-dev mailing list