commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Created: (JELLY-112) Create Script from SAX events
Date Fri, 25 Jun 2004 14:38:13 GMT

  A new issue has been created in JIRA.

View the issue:

Here is an overview of the issue:
        Key: JELLY-112
    Summary: Create Script from SAX events
       Type: Improvement

     Status: Unassigned
   Priority: Major

    Project: jelly
             core / taglib.core

   Reporter: Michael Lipp

    Created: Fri, 25 Jun 2004 7:37 AM
    Updated: Fri, 25 Jun 2004 7:37 AM
Environment: All

Currently, there is no possibility to feed a SAX event stream through Jelly. There is no ContentHandler
for the Jelly script.

Currently we use a work-around: we define a class derived from XMLParser, for the sole purpose
of being able to invoke configure() :-(
Then we use this parser as ContentHandler and send all SAX events to it.

>From the parser we get the script (getScript()) and invoke compile() and run(...). While
all this works, it is not really nice.

The funny thing is that XMLParser uses SAX events internally. I'd propose to make getXMLParser()
public and to automatically invoke compile() when the end document event is received (removing
the invocations from JellyContext).

 - Michael

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message