Closed
Bug 4706
Opened 26 years ago
Closed 26 years ago
[BLOCK] localstore.rdf that gets generated is bad
Categories
(Core Graveyard :: RDF, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M4
People
(Reporter: waterson, Assigned: waterson)
Details
This causes expat to barf on a well-formedness exception. Simple to fix:
Index: nsLocalStore.cpp
===================================================================
RCS file: /cvsroot/mozilla/rdf/datasource/src/nsLocalStore.cpp,v
retrieving revision 1.1
diff -c -r1.1 nsLocalStore.cpp
***************
*** 237,243 ****
nsOutputFileStream os(spec);
os << "<?xml version=\"1.0\"?>" << nsEndl;
os << "<RDF:RDF xmlns:RDF=\"" << RDF_NAMESPACE_URI << "\"" << nsEndl;
! os << " xmlns:NC=\"" << NC_NAMESPACE_URI << "\"" << nsEndl;
os << " <!-- Empty -->" << nsEndl;
os << "</RDF:RDF>" << nsEndl;
}
--- 237,243 ----
nsOutputFileStream os(spec);
os << "<?xml version=\"1.0\"?>" << nsEndl;
os << "<RDF:RDF xmlns:RDF=\"" << RDF_NAMESPACE_URI << "\"" << nsEndl;
! os << " xmlns:NC=\"" << NC_NAMESPACE_URI << "\">" <<
nsEndl;
os << " <!-- Empty -->" << nsEndl;
os << "</RDF:RDF>" << nsEndl;
}
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M4
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 1•26 years ago
|
||
Fix checked in.
code level fix. i'm marking as verified. if you disagree, please scold me as
appropriate.
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•