Closed Bug 5256 Opened 25 years ago Closed 25 years ago

bogus well-formedness errors wrt javascript in xul (xml?)

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

VERIFIED INVALID

People

(Reporter: kr, Assigned: hyatt)

Details

If you try to use the character "<" in a script in xul (any xml?), expat complains that the file isn't well-formed. For example, just try putting the following into any xul file... <html:script> if (0 < 1) { dump("foo"); } </html:script> I don't know if this problem is in expat, the xul dtd, or somewhere else. I haven't tested it in any places other than xul.
Assignee: trudelle → hyatt
reassigning to hyatt for triage.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
That isn't well-formed XUL. See the HTML in XML spec. You have to put script stuff in a CDATA section.
Status: RESOLVED → VERIFIED
Verified Invalid
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL. XUL component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: gerardok → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.