Bug 327920, issue with determining uri variable in query template syntax,r+sr=peterv

This commit is contained in:
enndeakin@sympatico.ca 2007-07-02 14:40:56 -07:00
parent 0a1dcc0efb
commit 79ff8e412b

View File

@ -1912,6 +1912,12 @@ nsXULTemplateBuilder::CompileTemplate(nsIContent* aTemplate,
if (! memberVariable) continue;
if (hasQuery) {
nsCOMPtr<nsIAtom> tag;
DetermineRDFQueryRef(aQuerySet->mQueryNode,
getter_AddRefs(tag));
if (tag)
aQuerySet->SetTag(tag);
if (! aQuerySet->mCompiledQuery) {
nsCOMPtr<nsIDOMNode> query(do_QueryInterface(aQuerySet->mQueryNode));