Closed Bug 1650652 Opened 5 years ago Closed 3 years ago

Problem in parsing XML

Categories

(Core :: XML, defect)

78 Branch
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: amirhsh71, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36

Steps to reproduce:

There is a business step in my application which must transfer some data by XML

Actual results:

In XML data I put values in CDATA tag to browsers ignore parsinhg these items but I a scenario like this <field id="UnitId"><!--[CDATA[123----1]]--></field> I got parse error.
I do'nt have this problem in IE or Chrome

Setting a component for this issue in order to get the dev team involved.
If you feel it's an incorrect one please feel free to change it to a more appropriate one.

Component: Untriaged → XML
Product: Firefox → Core

I wonder what <!--[CDATA[123----1]]--> is trying to do, when CDATA is <![CDATA[ ... ]]>.

When I load
data:text/xml,<?xml version="1.0"?><field id="UnitId"><!--[CDATA[123----1]]--></field>
In Firefox or in Chrome, both give errors

Could you perhaps upload an example where Firefox gives error, but Chrome doesn't?

Flags: needinfo?(amirhsh71)

A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Closing the bug as incomplete.

For more information, please visit auto_nag documentation.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(amirhsh71)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.