mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Fix for bug 366029 (xsl:copy doesn't instantiate its content as a template for children). r/sr=sicking.
This commit is contained in:
parent
f8e5d6319c
commit
7c04359c8a
@ -359,6 +359,7 @@ txCopy::execute(txExecutionState& aEs)
|
||||
|
||||
switch (txXPathNodeUtils::getNodeType(node)) {
|
||||
case txXPathNodeType::DOCUMENT_NODE:
|
||||
case txXPathNodeType::DOCUMENT_FRAGMENT_NODE:
|
||||
{
|
||||
const nsAFlatString& empty = EmptyString();
|
||||
|
||||
@ -375,7 +376,7 @@ txCopy::execute(txExecutionState& aEs)
|
||||
{
|
||||
nsCOMPtr<nsIAtom> localName =
|
||||
txXPathNodeUtils::getLocalName(node);
|
||||
nsresult rv = aEs.mResultHandler->
|
||||
rv = aEs.mResultHandler->
|
||||
startElement(txXPathNodeUtils::getPrefix(node),
|
||||
localName, nsnull,
|
||||
txXPathNodeUtils::getNamespaceID(node));
|
||||
|
Loading…
Reference in New Issue
Block a user