Ticket #43 (closed defect: fixed)

Opened 2 years ago

Last modified 4 months ago

JSJaCPacket in Opera 9.5

Reported by: Der Sekretär Owned by: zeank
Priority: high Milestone: jsjac-1.3
Component: jsjac Version: 1.3
Severity: critical Keywords: JSJaCPacket
Cc:

Description

Opera 9.5 adds a XML declaration to every XMLDocument that is created. This leads to serious problems with JSJaCPacket and subclasses, because the XML declaration is sent along with the rest of the data.

A possible solution would be to use a regex in the xml() function to throw out the XML declaration, but perhaps there are other solutions.

Attachments

packet.xml (403 bytes) - added by Der Sekretär 2 years ago.

Change History

Changed 2 years ago by Der Sekretär

Changed 2 years ago by golalexy

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from jsjac-1.2.3 to jsjac-1.3
/**
 * Returns a string representation of the raw xml content of this packet.
 * @type String
 */
JSJaCPacket.prototype.xml = typeof XMLSerializer != 'undefined' ?
function() {
  var r = (new XMLSerializer()).serializeToString(this.getNode());
  if (typeof(r) == 'undefined')
    r = (new XMLSerializer()).serializeToString(this.doc); // oldschool
  return r
} :
function() {// IE
  return this.getDoc().xml
};

Changed 2 years ago by golalexy

  • status changed from closed to reopened
  • resolution fixed deleted

im sorry. it must be set to repository, before closed.

Changed 22 months ago by zeank

  • status changed from reopened to closed
  • resolution set to fixed

thx golalexy, patch works perfectly

Changed 6 months ago by sim

decoration Changed 1 year ago by admin

bathtub Changed 1 year ago by admin

solar system Changed 1 year ago by admin

stair parts Changed 1 year ago by admin

solar supply Changed 1 year ago by admin

Note: See TracTickets for help on using tickets.