Skip to main content

Search and Top Navigation

#4970 closed bug (fixed)

Opened November 21, 2009 04:53PM UTC

Closed November 21, 2009 05:00PM UTC

XHTML Compliance :   should be  

Reported by: andrew_ Owned by: andrew_
Priority: minor Milestone: 1.8
Component: ui.dialog Version: 1.7.2
Keywords: xhtml dialog Cc:
Blocked by: Blocking:

I've found an issue

with the dialog and XHTML compliance. ThrushAAX was kind enough to

point out in #jquery-ui that if you don't have the title option set

when working with a page properly served up as application/xhtml+xml

that the dialog will cause an error. The exact error within Firefox is

as follows:

Error: undefined entity

Source File:

Line: 1, Column: 43

Source Code:

<div xmlns=""> </

Error: uncaught exception: [Exception... "Component returned failure

code: 0x80004003 (NS_ERROR_INVALID_POINTER)

[nsIDOMNSHTMLElement.innerHTML]" nsresult: "0x80004003

(NS_ERROR_INVALID_POINTER)" location: "JS frame ::

http://localhost/res/js/jquery/jquery-1.3.2.min.js :: anonymous ::

line 12" data: no]

Line 38 in jquery.ui.dialog.js is the immediate offender. The simple

fix is to replace instances of ' ' in the script to ' '.

  is an invalid xml entity, and   is the code replacement,

and is recognized in all browsers

Full conversation:

Attachments (0)
Change History (3)

Changed November 21, 2009 04:59PM UTC by andrew_ comment:1

resolution: → fixed
status: newclosed

Changed November 21, 2009 05:00PM UTC by andrew_ comment:2

resolution: fixed
status: closedreopened

Fixed in r3474

Changed November 21, 2009 05:00PM UTC by andrew_ comment:3

resolution: → fixed
status: reopenedclosed

Fixed in r3474