Closed Bug 42991 Opened 24 years ago Closed 24 years ago

nsXULTemplateBuilder.cpp references invalid RDF elemant

Categories

(Core Graveyard :: RDF, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dmosedale, Assigned: waterson)

References

(Blocks 1 open bug)

Details

(Keywords: arch)

Attachments

(1 file)

Specifically, kRDF_child: 6513 #define TREE_PROPERTY_HACK 1 6514 #if defined(TREE_PROPERTY_HACK) 6515 if (! len) { 6516 // Some ever-present membership tests. 6517 mContainmentProperties.Add(kNC_child); 6518 mContainmentProperties.Add(kNC_Folder); 6519 mContainmentProperties.Add(kRDF_child); 6520 } 6521 #endif 6522 The core RDF namespace doesn't have an property called child. I couldn't find any other obvious references to it in the tree just by using lxr.
Blocks: 11650
Keywords: arch
dmose: could you try chopping it out to see if "anything breaks"? I think only rjc or I would've done something that relied on rdf:child, and my guess is that most of the stuff is done using nc:child now, anyway.
Status: NEW → ASSIGNED
Yeah, I think RDF#Child is merely historical and hopefully not actually used anywhere.
Allright. I'll remove it, and we can just hand tweak any datasources that still rely on it working.
Target Milestone: --- → M17
Attached patch rip out kRDF_child (deleted) — Splinter Review
rjc, r=?
r=rjc with pleasure
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
QA Contact: tever → bbaetz
VERIFIED that the patch was checked in...
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: