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

VERIFIED INVALID

Status

()

Core
XUL
P3
normal
VERIFIED INVALID
20 years ago
10 years ago

People

(Reporter: Keith Rarick, Assigned: David Hyatt)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

20 years ago
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.

Updated

20 years ago
Assignee: trudelle → hyatt

Comment 1

20 years ago
reassigning to hyatt for triage.
(Assignee)

Updated

20 years ago
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → INVALID
(Assignee)

Comment 2

20 years ago
That isn't well-formed XUL.  See the HTML in XML spec.  You have to put script
stuff in a CDATA section.

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 3

19 years ago
Verified Invalid

Comment 4

19 years ago
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL.  XUL 
component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL

Updated

10 years ago
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.