Closed
Bug 749627
Opened 14 years ago
Closed 14 years ago
Incorrect syntax error message for XML data islands
Categories
(Core :: XML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 749367
People
(Reporter: will69, Unassigned)
Details
(Keywords: regression)
Attachments
(1 file)
|
1.02 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120427 Firefox/15.0a1
Build ID: 20120427030500
Steps to reproduce:
Save the attachment from the MDN article "Using XML Data Islands in Mozilla" (https://developer.mozilla.org/en/Using_XML_Data_Islands_in_Mozilla) to disk and load the HTML file (see attachment) into a new tab. Open the Web Console.
Actual results:
The Web Console displays the following message: "SyntaxError: XML can't be the whole program @ file:///.../xml-data-block.html:16".
This happens for other files with XML data islands, too.
Expected results:
No syntax error should have been logged.
Here's the regression range:
2012-04-25-03-06-47-mozilla-central OK
2012-04-26-03-05-04-mozilla-central NOT OK
http://hg.mozilla.org/mozilla-central/rev/75c7378c87b6 OK
http://hg.mozilla.org/mozilla-central/rev/cc5254f9825f NOT OK
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=75c7378c87b6&tochange=cc5254f9825f
Updated•14 years ago
|
Keywords: regression
Underscore templates cause lots of errors:
SyntaxError: XML can't be the whole program
SyntaxError: illegal XML character - for "<%"
SyntaxError: class is a reserved identifier
SyntaxError: syntax error
On Nightly, Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/15.0 Firefox/15.0a1
and the same on windows build
Updated•14 years ago
|
Component: Untriaged → XML
Product: Firefox → Core
QA Contact: untriaged → xml
Updated•14 years ago
|
Attachment #619037 -
Attachment mime type: text/plain → text/html
Comment 3•14 years ago
|
||
Updating should fix. Please reopen if it doesn't.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•