npob, fixup testsuite to catch exceptions from importStylesheet, too, as compiled stylesheets throw those
git-svn-id: svn://10.0.0.236/trunk@140405 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -307,12 +307,10 @@ runItem.prototype =
|
||||
doTransform : function()
|
||||
{
|
||||
this.kProcessor.reset();
|
||||
this.kProcessor.importStylesheet(this.mStyleDoc);
|
||||
this.mResDoc = this.kProcessor.transformToDocument(this.mSourceDoc);
|
||||
//var proc = new XSLTProcessor;
|
||||
//proc.importStylesheet(this.mStyleDoc);
|
||||
//this.mResDoc = proc.transformToDocument(this.mSourceDoc);
|
||||
try {
|
||||
this.kProcessor.importStylesheet(this.mStyleDoc);
|
||||
this.mResDoc =
|
||||
this.kProcessor.transformToDocument(this.mSourceDoc);
|
||||
this.mRefDoc.normalize();
|
||||
isGood = DiffDOM(this.mResDoc.documentElement,
|
||||
this.mRefDoc.documentElement,
|
||||
|
||||
Reference in New Issue
Block a user