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)

All
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

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; }
Status: NEW → ASSIGNED
Target Milestone: M4
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Fix checked in.
code level fix. i'm marking as verified. if you disagree, please scold me as appropriate.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.