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

RE: xalan-j2 D7: StreamSource cannot be kept?

Subject: RE: xalan-j2 D7: StreamSource cannot be kept?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 9 Aug 2001 18:13:08 +0100
RE:  xalan-j2 D7: StreamSource cannot be kept?
The JAXP 1.1 spec is rather remiss in that it doesn't say which kinds of
Source object are consumed by supplying them to a transformation. But I
think it's reasonable to assume that a StreamSource or SAXSource can only be
used once.

Mike Kay
Software AG

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> Robert Koberg
> Sent: 09 August 2001 15:50
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  xalan-j2 D7: StreamSource cannot be kept?
>
>
> Hi, I was hoping someone could help me with this problem.
>
> I keep the XSL and XML StreamSource's for my webapp in a
> couple of java
> objects on a j2ee compliant servlet container. When I want to
> transform a
> page I request the appropriate combination of StreamSource's
> (see More info
> on the backend below).  Everything works fine THE FIRST TIME.
>  If I use the
> browser back button and perform the exact same action to get
> to the same
> page that origanlly worked, it produces a
> TransformerException saying that
> it cannot find the file specified (but it's already setup as
> a stream...).
> Nothing has changed. If I check the StreamSource's reference
> ID, it has not
> changed.  Has something changed the stream itself? Is there
> some way to see
> the stream?
>
> More info on the backend:
> -----------------------------------
> I was hoping (don't know if it is a good thing to do or
> not...?) to create a
> "database" of StreamSources - with an instance of a Page
> Object containing
> the StreamSource for an XML.  A Site Object contains the XSL
> StreamSource's.
> To get a page I access the appropriate instances and get the
> XSL and XML
> StreamSources. Can anybody help or give me some advice? Is this a good
> strategy for producing a fast, dynamic site?
>
> Thanks,
> Rob
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.