[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Why does my streaming program hang when the input
On 6/10/2014 5:55 AM, Abel Braaksma (Exselt) abel@xxxxxxxxxx wrote:
I wasn't aware of this rule, but strictly speaking it's impossible to achieve given normal file I/O behavior, even when the entire document is buffered in memory before writing. Writes happen sequentially, so there will certainly be incomplete intermediate file states which may be readable by other processes, depending on operating system rules. It seems to me that as a practical matter it doesn't make sense to spend a lot of time worrying about it, though, and it's not really a good justification for buffering on its own. I hope that streaming processors will feel free to write intermediate results as needed; perhaps a <xsl:flush /> instruction wouldn't be amiss, either :) -Mike
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|