Closed Bug 119727 Opened 23 years ago Closed 23 years ago

<link></link> causes XML parse error in XHTML as XML document

Categories

(Core :: XML, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: caillon, Assigned: harishd)

References

()

Details

(Keywords: regression, testcase, Whiteboard: [fix in hand])

Attachments

(2 files)

Using linux 2002011108 - bz and hixie both were able to reproduce this.

XML Parsing Error: mismatched tag. Expected: </link>.
Location: http://www.zbarsky.org:8000/~bzbarsky/test.xml
Line Number 9, Column 4: 

</head>
---^
This is likely to get fixed by the patch in bug 119399
Depends on: 119399
Boris: That's what I thought and hoped :) but unfortunately the fix, in bug
119399, does not fix this problem. I did find a bug in expat, and have a fix in
hand.
Attached patch patch v1.0.Splinter Review
Buffer position should be updated such that it points after </foo>.
Status: NEW → ASSIGNED
Whiteboard: [fix in hand]
Comment on attachment 64845 [details] [diff] [review]
patch v1.0.

r=heikki

Just test some open/close combos as well to make sure we don't regress because
of this, and if you haven't tested XHTML run through those testcase as well.
Attachment #64845 - Flags: review+
Comment on attachment 64845 [details] [diff] [review]
patch v1.0.

jst sez sr=
Attachment #64845 - Flags: superreview+
FIXED.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: petersen → rakeshmishra
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: