![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: SA10.6 Customized Stylesheet xsl files not converted to 10.7 Topic Summary: Error -2146827850 in initHtmlClean - SA wont convert your custom stylesheets to reference the new SVG viewer in 10.7 Created On: 10-Oct-2007 21:33 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
In SA 10.7, there is no check for prior custom xsl stylesheets referencing the old (pre- 10.7) Adobe SVG Viewer in IWP during website build.
Seems using the old 10.6 or 10.4 XSL file to render my website presented undiscovered issues with IWP output. Had we known to start fresh with the XSL files (under the SA program File\SA Publisher\Stylesheets\*.xsl) after the 10.7 upgrade, this would not have been a problem.
The error message users see when reading the html containing embedded referenced svg diagrams is:
Error in Function initHtmlClean:
Name: TypeError
Error Description: Object doesn't support this property or method
Error number: -2146827850
The solution is to rebuild your xsl stylesheets with the new templates including reference to the java/batik svg viewer. Find the templates in SA Publisher\Stylesheets\*.xsl after the 10.7 upgrade.
Example:
My HTML file is still using adobe SVG plugin page reference to build the SVG file:
The new version should look like this:
Thanks to Tom Wang!
|
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.