Closed
Bug 102534
Opened 24 years ago
Closed 24 years ago
typedNode serialization doesn't handle default namespace correctly
Categories
(Core Graveyard :: RDF, defect)
Core Graveyard
RDF
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.5
People
(Reporter: tingley, Assigned: tingley)
Details
Attachments
(1 file)
|
1.50 KB,
patch
|
shaver
:
review+
waterson
:
superreview+
|
Details | Diff | Splinter Review |
My fix for bug 97775 handles default namespaces in a bogus way -- it will
generate things that look like this:
<:channel>
<foo:prop>14</foo:prop>
</:channel>
This is because for default namespace, |MakeQName()| will return success, but
|aNameSpacePrefix| will contain the empty string. We need a check for this when
actually writing out the RDF.
http://lxr.mozilla.org/seamonkey/source/rdf/base/src/nsRDFXMLSerializer.cpp#488
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•24 years ago
|
||
| Assignee | ||
Comment 3•24 years ago
|
||
Proposed solution: suck less and check for an empty namespace.
Waterson, Shaver: any chance you could take a look at this? I'd like to get
this in for 0.9.5 since it's sort of a regression (as in, we used to handle this
ok, now we don't). Thanks.
Comment 4•24 years ago
|
||
Comment on attachment 51534 [details] [diff] [review]
fix
zoiks! r/sr=waterson
Attachment #51534 -
Flags: superreview+
Comment 5•24 years ago
|
||
Comment on attachment 51534 [details] [diff] [review]
fix
r=shaver. Nice catch.
Attachment #51534 -
Flags: review+
Comment 6•24 years ago
|
||
I'll get this checked in today.
Comment 7•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•