Closed
Bug 577130
Opened 14 years ago
Closed 14 years ago
xmlparser should tell channels that it expects the content to be xml
Categories
(Core :: XML, defect)
Tracking
()
RESOLVED
FIXED
mozilla5
People
(Reporter: timeless, Assigned: timeless)
References
Details
Attachments
(1 file, 3 obsolete files)
941 bytes,
patch
|
timeless
:
review+
jst
:
approval2.0-
|
Details | Diff | Splinter Review |
this has been mentioned occasionally. basically when things go bad we trigger fun recursion trying to guess mime types....
sorry, i thought someone compiled that... this compiles in my tree...
Attachment #456176 -
Attachment is obsolete: true
Attachment #456231 -
Flags: review?(hsivonen)
Attachment #456176 -
Flags: review?(jonas)
Comment 3•14 years ago
|
||
Comment on attachment 456231 [details] [diff] [review]
proposal
I'm not a module peer for this code, so I'm not the right person to review this.
Attachment #456231 -
Flags: review?(hsivonen) → review?(peterv)
Comment 4•14 years ago
|
||
Comment on attachment 456231 [details] [diff] [review]
proposal
The comment mentions application/xml-dtd which is the right mimetype afaik, but you pass application/xml to SetContentType.
Attachment #456231 -
Flags: review?(peterv) → review-
Comment 6•14 years ago
|
||
I woudn't bother, nor would I put it in the comment....
Attachment #456231 -
Attachment is obsolete: true
Attachment #463292 -
Flags: review?(peterv)
Comment 8•14 years ago
|
||
Comment on attachment 463292 [details] [diff] [review]
without -dtd comment
>+ rv = NS_NewChannel(getter_AddRefs(channel), uri);
>+ if (NS_FAILED(rv))
>+ return rv;
NS_ENSURE_SUCCESS(rv, rv);
Attachment #463292 -
Flags: review?(peterv) → review+
Attachment #463292 -
Attachment is obsolete: true
Attachment #466981 -
Flags: review+
Attachment #466981 -
Flags: approval2.0?
Comment 10•14 years ago
|
||
Comment on attachment 466981 [details] [diff] [review]
NS_ENSURE_SUCCESS
I don't want to take this change this late...
Attachment #466981 -
Flags: approval2.0? → approval2.0-
Comment 11•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.2
You need to log in
before you can comment on or make changes to this bug.
Description
•