Project

Profile

Help

Bug #1447

closed

XHTML and document.write

Added by Philip Fearon about 12 years ago. Updated almost 8 years ago.

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

100%

Estimated time:
Platforms:

Description

[Resubmitted on behalf of Manfred] The GWT created Saxonce.nocache.js still uses one ore more document.write instructions which in case of XHTML renders the DOM document (m) invalid. After that any reference to the DOM document will throw a server JavaScript error. Those document.write instructions should (and can easily) be replaced by DOM conformant methods.

N.B. It isn't that helpfull if a Google Software Architect states: "the whole Web doesn't like XHTML, so it's a non-issue"

https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit/2YzrbZwYAlU

Actions #1

Updated by Philip Fearon about 12 years ago

  • % Done changed from 0 to 100

The Saxon-CE build has been fixed to automate this workaround for the GWT issue, for this to work, XHTML . The fix works for all popular browsers except Internet Explorer prior to IE9, so for older versions of IE, Saxon-CE won't process pages served as XHTML.

Actions #2

Updated by Philip Fearon about 12 years ago

  • Description updated (diff)
Actions #3

Updated by Philip Fearon about 12 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Philip Fearon about 12 years ago

  • Fixed in version set to Beta 0.2
Actions #5

Updated by Philip Fearon about 12 years ago

  • Sprint/Milestone set to Beta 0.2
Actions #6

Updated by O'Neil Delpratt about 11 years ago

  • Status changed from Resolved to Closed
  • Fixed in version changed from Beta 0.2 to 1.0

Fixed in Saxon-CE version 1.0

Actions #7

Updated by O'Neil Delpratt about 11 years ago

  • Sprint/Milestone changed from Beta 0.2 to Release 1.0
Actions #8

Updated by Henri Manson almost 8 years ago

In Saxon-CE 1.1 Saxonce.nocache.js is using document.write again. Can this be fixed in the same way as it was done in Saxon-CE version 1.0?

Actions #9

Updated by Henri Manson almost 8 years ago

I updated it myself and created a pull request: https://github.com/Saxonica/Saxon-CE/pull/10

Please register to edit this issue

Also available in: Atom PDF