Project

Profile

Help

Bug #1507

closed

Issue with asynchronous XMLHTTPRequest when using file-system URIs instead of HTTP

Added by Philip Fearon over 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
2012-05-01
Due date:
% Done:

100%

Estimated time:
Platforms:

Description

When using Firefox or Opera to run Saxon-CE from the file-system, the XSLT compile runs Ok, but the transform is not initiated, because no response (or error) is received from the XMLHTTPRequest. This is evident from the Saxon-CE console output. The same test runs fine when using HTTP.

Actions #1

Updated by Philip Fearon over 12 years ago

  • Status changed from New to In Progress

This issue is resolved by changing the HTTP request handler in Saxon-CE to work synchronously when the file-system protocol is detected in the URI. This fix will be included in a forthcoming patch for the beta.

The workaround for using the file-system protocol until this patch is released: Set an initial template instead of a data-source and then, within this template, use XPath's doc() function to fetch the required data file.

Actions #2

Updated by Philip Fearon over 12 years ago

  • Status changed from In Progress to Resolved
Actions #3

Updated by O'Neil Delpratt over 11 years ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 1.0

Fixed in Saxon-CE version 1.0

Actions #4

Updated by O'Neil Delpratt over 11 years ago

  • Sprint/Milestone set to Release 1.0
  • % Done changed from 0 to 100

Please register to edit this issue

Also available in: Atom PDF