Closed Bug 749627 Opened 14 years ago Closed 14 years ago

Incorrect syntax error message for XML data islands

Categories

(Core :: XML, defect)

15 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 749367

People

(Reporter: will69, Unassigned)

Details

(Keywords: regression)

Attachments

(1 file)

Attached file xml-data-block.html —
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.
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
Component: Untriaged → XML
Product: Firefox → Core
QA Contact: untriaged → xml
Attachment #619037 - Attachment mime type: text/plain → text/html
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.

Attachment

General

Creator:
Created:
Updated:
Size: