SetStyleSheet
I am playing with a sample I got from a book and it uses OracleXMLQuery class. When I compile it it says:
warning: setStyleSheet(java.lang.String) in oracle.xml.sql.query.OracleXMLQuery has been deprecated
What should I use to make it work?
Thanks.
Mandy
I've used this to alternate the colors of an HTML table:
<xsl:variable name="c">
<xsl:choose>
<xsl:when test='(position() mod 2 = 0)'>f0f0ff</xsl:when>
<xsl:otherwise>ffffff</xsl:otherwise>
</xsl:choose>
</xsl:variable>
Similar Messages
-
Xmlgen.setstylesheet: using position() method
I am producing HTML by modifying XML generated by xmlgen.getxml via an xsl stylesheet. I am trying to use the position() as follows:
<xsl:if test="position()=1">
I always get this error:
Unknown method. -->position()<--=1
Is "position" unsupported?
nullI've used this to alternate the colors of an HTML table:
<xsl:variable name="c">
<xsl:choose>
<xsl:when test='(position() mod 2 = 0)'>f0f0ff</xsl:when>
<xsl:otherwise>ffffff</xsl:otherwise>
</xsl:choose>
</xsl:variable> -
How to generate PDF output from OracleXMLQuery
I want to generate a PDF out put from XML by using JSP. For this i writen jsp and xsl. My jsp code works fine if i include html formated xsl and it displays as a text when i pass pdf formated xls.
Here i am providing my jsp code.
I don't want to use XSQL, please provide me information ASAP.
<%@ page import = "java.sql.*,oracle.xml.sql.query.OracleXMLQuery" %>
<% Connection conn = null;
Statement stmt = null;
ResultSet rset = null;
String dbURL = "jdbc:oracle:thin:@localhost:1521:oracle9i";
try{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
conn = DriverManager.getConnection(dbURL, "scott", "tiger");
stmt = conn.createStatement ();
rset = stmt.executeQuery ("SELECT * " +
"FROM scott.emp ORDER BY ename");
OracleXMLQuery xq = new OracleXMLQuery(conn, rset); %>
<% xq.setStyleSheet("emptablefo.xsl"); %>
<%= xq.getXMLString() %>
<% } catch (java.sql.SQLException e) { %>
SQL error: <%= e %>
<% }
finally {
if (stmt != null) stmt.close();
if (rset != null) rset.close();
if (conn != null) conn.close();
} %>
Thanks,
Ramana>
if the report output format is xls this code is generating the pdf output
>
looks like pdf is default output in template definition in xml publisher resp
so for r12 use FND_REQUEST.ADD_LAYOUT as example
v_request_id number;
xml_layout boolean;
xml_layout := FND_REQUEST.ADD_LAYOUT('XXCUSTOM','XXCONCNAME','en','00','EXCEL');
v_request_id := fnd_request.submit_request(application => 'XXCUSTOM',
program => 'XXCONCNAME',
description => NULL,
start_time => NULL,
sub_request => FALSE,
argument1 => p_date
);also see http://andyblg.wordpress.com/2012/08/23/run-concurrent-program-twice-with-different-layout-r12/ -
Hi Wizards
I'm in an endeavour to do the following things -
1.Generate XML output from Oracle 8i Lite database
2.Modify the XML and update the database taking the modified XML.
My java platform is JDK 1.2. I've used the XML SQL Utility for Java, and in doing so i've been successful with the 1st step. I've used the Oracle 8.1.6SDK JDBC Driver which is compatible with JDK 2.The code fragment is like the following -
import java.io.*;
import java.sql.*;
import java.math.*;
import oracle.xml.sql.query.*;
import oracle.jdbc.*;
import oracle.jdbc.driver.*;
public class orasql1
public static void main(String args[]) throws SQLException
Connection conn = null;
String tabName = "emp";
try {
Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
conn = DriverManager.getConnection("jdbc:Polite:POlite", "SYSTEM", "manager");
catch (Exception e) {
System.out.println("Oracle Connection error\t:");
System.out.println(e);
System.exit(0);
OracleXMLQuery qry = new OracleXMLQuery(conn, "select * from " + tabName);
qry.setRowsetTag("SCHEMADOC_1");
qry.setRowTag("EMPLOYEE");
qry.setStyleSheet("emp.xsl");
String xmlString = qry.getXMLString(true);
conn.close();
try {
File output = new File("emp.xml");
FileWriter xmlFile = new FileWriter(output);
xmlFile.write(xmlString,0,xmlString.length());
xmlFile.close();
catch (Exception e) {
System.out.println("Output file error\t:");
System.out.println(e);
System.exit(0);
I am putting some sample code for step 2 in the following section -
import oracle.xml.sql.dml.*;
import java.sql.*;
import oracle.jdbc.driver.*;
import oracle.jdbc.*;
import java.net.*;
public class orasql2
public static void main(String args[]) throws SQLException
Connection conn = null;
String tabName = "emp";
String fileName = "emp.xml";
try {
Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
conn = DriverManager.getConnection("jdbc:Polite:POlite", "SYSTEM", "manager");
catch (Exception e) {
System.out.println("An error has occurred.");
System.out.println("Please check your CLASSPATH variable..");
System.out.println(e);
System.exit(0);
OracleXMLSave save = new OracleXMLSave(conn, tabName);
URL url = save.createURL(fileName);
save.setRowTag("SCHEMADOC_1");
int rowCount = save.insertXML(url);
System.out.println("Successfully inserted "+rowCount+" rows into "+tabName);
conn.close();
Compiling the above code is fine, no errors! But while running the application I get the error -
Exception in thread "main" oracle.xml.sql.OracleXMLSQLException: java.lang.Class
CastException: oracle.lite.poljdbc.OracleStatement
at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:345)
at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:248)
at orasql2.main(orasql2.java:27)
My question is whether this thing can be done at all using Oracle 8i Lite? If so then how?
Waiting for ur advices.
Biplab
(An Indian, but at present in Houston, Texas)It looks like be a classpath issue. Would you check with the class name.
-
Crash log from Safari-multiple crashes
I am having an issue tonight with Safari crashing. The one thing that I can trace that triggers it is when I go to my public library's online catalog and type in an author's name. It has quit every time. About 4 times. It has also crashed once or twice earlier today when I had my genealogy program (Reunion) open. Last night I ran Monoligual and removed all languages but English. I also ran Font Nuke. I deleted all duplicate fonts from Font Book. And this evening Safari is acting up. Here is my crash log. Oh yea- read a thread about moving the folder Input Managers to the desktop-did that-crashed again. Hopefully someone can tell from the crash log what's going on. Hopefully I didn't do damage last night...
===== Display starts at offset 702655 within file of length 833727. ====
===== Use File->Reload (Cmd-R) to display more. ====
.27) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908dc000 - 0x908dcfff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x908de000 - 0x909e0fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a3a000 - 0x90abefff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90ae8000 - 0x90b58fff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b6e000 - 0x90b80fff libauto.dylib /usr/lib/libauto.dylib
0x90b87000 - 0x90e5efff com.apple.CoreServices.CarbonCore 681.8 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x90ec4000 - 0x90f44fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x90f8e000 - 0x90fcffff com.apple.CFNetwork 129.19 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x90fe4000 - 0x90ffcfff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
0x9100c000 - 0x9108dfff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x910d3000 - 0x910fdfff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x9110e000 - 0x9111cfff libz.1.dylib /usr/lib/libz.1.dylib
0x9111f000 - 0x912dafff com.apple.security 4.6 (29770) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x913d9000 - 0x913e2fff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x913e9000 - 0x91411fff com.apple.SystemConfiguration 1.8.3 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x91424000 - 0x9142ffff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x91434000 - 0x9143cfff libbsm.dylib /usr/lib/libbsm.dylib
0x91440000 - 0x914bbfff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x914f8000 - 0x914f8fff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x914fa000 - 0x91532fff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
0x9154d000 - 0x9161afff com.apple.ColorSync 4.4.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x9166f000 - 0x91700fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x91747000 - 0x917fefff com.apple.QD 3.10.21 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x9183b000 - 0x91899fff com.apple.HIServices 1.5.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x918c8000 - 0x918ecfff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x91900000 - 0x91925fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
0x91938000 - 0x9197afff com.apple.LaunchServices 181 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
0x91996000 - 0x919aafff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x919b8000 - 0x919fafff com.apple.ImageIO.framework 1.5.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x91a10000 - 0x91ad7fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91b25000 - 0x91b3afff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91b3f000 - 0x91b5dfff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91b63000 - 0x91bd2fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91be9000 - 0x91bedfff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91bef000 - 0x91c4efff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91c53000 - 0x91c90fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91c97000 - 0x91cb0fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91cb5000 - 0x91cb8fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91cba000 - 0x91cbafff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91cbc000 - 0x91da1fff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x91da9000 - 0x91dc8fff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x91e34000 - 0x91ea2fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x91ead000 - 0x91f42fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x91f5c000 - 0x924e4fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x92517000 - 0x92842fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x92872000 - 0x928fafff com.apple.DesktopServices 1.3.5 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x9293b000 - 0x92b66fff com.apple.Foundation 6.4.6 (567.27) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92c84000 - 0x92d62fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x92d82000 - 0x92e70fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92e82000 - 0x92ea0fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92eab000 - 0x92f05fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92f23000 - 0x92f23fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92f25000 - 0x92f39fff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x92f51000 - 0x92f61fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x92f6d000 - 0x92f82fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x92f94000 - 0x9301bfff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x9302f000 - 0x9303afff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x93044000 - 0x93071fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x9308b000 - 0x9309bfff com.apple.print.framework.Print 5.0 (190.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x930a7000 - 0x9310dfff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x9313e000 - 0x9318dfff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x931bb000 - 0x931d8fff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x931ea000 - 0x931f7fff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x93200000 - 0x9350dfff com.apple.HIToolbox 1.4.8 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x9365c000 - 0x93668fff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x9366d000 - 0x9368dfff com.apple.DirectoryService.Framework 3.1 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x936e1000 - 0x936e1fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x936e3000 - 0x93d16fff com.apple.AppKit 6.4.7 (824.41) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x940a3000 - 0x94113fff com.apple.CoreData 80 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x9414c000 - 0x9420ffff com.apple.audio.toolbox.AudioToolbox 1.4.3 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x94261000 - 0x94261fff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x94263000 - 0x94436fff com.apple.QuartzCore 1.4.9 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x9448c000 - 0x944c9fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x944d1000 - 0x94521fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x94561000 - 0x945a6fff com.apple.bom 8.5 (86.3) /System/Library/PrivateFrameworks/Bom.framework/Bom
0x945b2000 - 0x945eafff com.apple.vmutils 4.0.0 (85) /System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils
0x9462d000 - 0x94649fff com.apple.securityfoundation 2.2 (27710) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x9465d000 - 0x946a1fff com.apple.securityinterface 2.2 (27692) /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x946c5000 - 0x946d4fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x946dc000 - 0x946e8fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x9472e000 - 0x94746fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x9474d000 - 0x94a22fff com.apple.QuickTime 7.1.5 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94ae6000 - 0x94b57fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x94bca000 - 0x94beafff libmx.A.dylib /usr/lib/libmx.A.dylib
0x94cf2000 - 0x94e22fff com.apple.AddressBook.framework 4.0.4 (485.1) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x94eb4000 - 0x94ec3fff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
0x94ecb000 - 0x94ef8fff com.apple.LDAPFramework 1.4.1 (69.0.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x94eff000 - 0x94f0ffff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
0x94f13000 - 0x94f42fff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x94f52000 - 0x94f6ffff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x95686000 - 0x95714fff com.apple.WebKit 418.9.1 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x95770000 - 0x95806fff com.apple.JavaScriptCore 1.2 (418.3) /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCor e.framework/Versions/A/JavaScriptCore
0x95843000 - 0x95b4ffff com.apple.WebCore 418.21 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x95cd8000 - 0x95d01fff libxslt.1.dylib /usr/lib/libxslt.1.dylib
0x976f6000 - 0x97703fff com.apple.agl 2.5.6 (AGL-2.5.6) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x9a708000 - 0x9a73efff com.apple.Syndication 1.0.6 (54) /System/Library/PrivateFrameworks/Syndication.framework/Versions/A/Syndication
0x9a75b000 - 0x9a76dfff com.apple.SyndicationUI 1.0.6 (54) /System/Library/PrivateFrameworks/SyndicationUI.framework/Versions/A/Syndicatio nUI
Host Name: Judy
Date/Time: 2007-03-09 15:33:36.634 -0500
OS Version: 10.4.8 (Build 8L127)
Report Version: 4
Command: Safari
Path: /Applications/Safari.app/Contents/MacOS/Safari
Parent: WindowServer [68]
Version: 2.0.4 (419.3)
Build Version: 1
Project Name: WebBrowser
Source Version: 4190300
PID: 808
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x907bfc88 CFArrayGetValueAtIndex + 276
1 com.apple.CoreText 0x9026497c TSplicedFontDescriptor::GetFontMatrix() const + 96
2 com.apple.CoreText 0x902631f0 TFont::GetStrikeMatrix() const + 72
3 com.apple.CoreText 0x9023f05c TFont::InitStrikeMetrics() const + 56
4 com.apple.CoreText 0x90220af8 CTFontGetAscent + 68
5 com.apple.AppKit 0x9370f428 __NSFontInstanceInfoInitializeMetricsInfo + 48
6 com.apple.AppKit 0x937fdd0c -[__NSSharedFontInstanceInfo _isFixedPitch] + 44
7 com.apple.AppKit 0x937fdccc -[NSFont isFixedPitch] + 32
8 com.apple.WebKit 0x956a5a6c -[WebTextRendererFactory isFontFixedPitch:] + 140
9 com.apple.WebCore 0x958e62f8 QFont::isFixedPitch() const + 116
10 com.apple.WebCore 0x958e6234 khtml::RenderText::shouldUseMonospaceCache(khtml::Font const*) const + 40
11 com.apple.WebCore 0x958e6178 khtml::RenderText::cacheWidths() + 44
12 com.apple.WebCore 0x958e6138 khtml::RenderText::setStyle(khtml::RenderStyle*) + 300
13 com.apple.WebCore 0x95871dd8 DOM::NodeImpl::createRendererIfNeeded() + 208
14 com.apple.WebCore 0x95891fa0 DOM::TextImpl::attach() + 24
15 com.apple.WebCore 0x95864cb8 DOM::NodeBaseImpl::attach() + 52
16 com.apple.WebCore 0x95864cb8 DOM::NodeBaseImpl::attach() + 52
17 com.apple.WebCore 0x95864cb8 DOM::NodeBaseImpl::attach() + 52
18 com.apple.WebCore 0x95864cb8 DOM::NodeBaseImpl::attach() + 52
19 com.apple.WebCore 0x95864cb8 DOM::NodeBaseImpl::attach() + 52
20 com.apple.WebCore 0x95864cb8 DOM::NodeBaseImpl::attach() + 52
21 com.apple.WebCore 0x958a4c68 DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 208
22 com.apple.WebCore 0x958a4de4 DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 588
23 com.apple.WebCore 0x958613f0 DOM::DocumentImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 2512
24 com.apple.WebCore 0x9589b518 DOM::DocumentImpl::updateStyleSelector() + 72
25 com.apple.WebCore 0x95941080 DOM::CSSImportRuleImpl::setStyleSheet(DOM::DOMString const&, DOM::DOMString const&) + 428
26 com.apple.WebCore 0x958a2810 khtml::CachedCSSStyleSheet::checkNotify() + 352
27 com.apple.WebCore 0x958a2430 khtml::CachedCSSStyleSheet::data(QBuffer&, bool) + 336
28 com.apple.WebCore 0x958a2168 khtml::Loader::slotFinished(KIO::Job*, NSData*) + 428
29 com.apple.WebCore 0x95a1ba88 KWQSignal::callWithData(KIO::Job*, NSData*) const + 136
30 com.apple.WebCore 0x958a1f5c -[KWQResourceLoader finishJobAndHandle:] + 80
31 com.apple.WebKit 0x9569f494 -[WebSubresourceClient didFinishLoading] + 72
32 com.apple.WebKit 0x9569e71c -[WebBaseResourceHandleDelegate connectionDidFinishLoading:] + 48
33 com.apple.Foundation 0x9299384c -[NSURLConnection(NSURLConnectionInternal) _sendDidFinishLoadingCallback] + 188
34 com.apple.Foundation 0x92991ab8 -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] + 556
35 com.apple.Foundation 0x92991810 _sendCallbacks + 156
36 com.apple.CoreFoundation 0x907dd4cc __CFRunLoopDoSources0 + 384
37 com.apple.CoreFoundation 0x907dc9fc __CFRunLoopRun + 452
38 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
39 com.apple.HIToolbox 0x93208740 RunCurrentEventLoopInMode + 264
40 com.apple.HIToolbox 0x93207dd4 ReceiveNextEventCommon + 380
41 com.apple.HIToolbox 0x93207c40 BlockUntilNextEventMatchingListInMode + 96
42 com.apple.AppKit 0x936ebae4 _DPSNextEvent + 384
43 com.apple.AppKit 0x936eb7a8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
44 com.apple.Safari 0x00006740 0x1000 + 22336
45 com.apple.AppKit 0x936e7cec -[NSApplication run] + 472
46 com.apple.AppKit 0x937d887c NSApplicationMain + 452
47 com.apple.Safari 0x0005c77c 0x1000 + 374652
48 com.apple.Safari 0x0005c624 0x1000 + 374308
Thread 1:
0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x92970164 -[NSRunLoop runMode:beforeDate:] + 172
5 com.apple.Foundation 0x9297009c -[NSRunLoop run] + 76
6 com.apple.WebKit 0x95688ef0 +[WebFileDatabase _syncLoop:] + 176
7 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
8 libSystem.B.dylib 0x9002b508 pthreadbody + 96
Thread 2:
0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x9298869c +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 264
5 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002b508 pthreadbody + 96
Thread 3:
0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x929897dc +[NSURLCache _diskCacheSyncLoop:] + 152
5 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002b508 pthreadbody + 96
Thread 4:
0 libSystem.B.dylib 0x9001f08c select + 12
1 com.apple.CoreFoundation 0x907ef40c __CFSocketManager + 472
2 libSystem.B.dylib 0x9002b508 pthreadbody + 96
Thread 5:
0 libSystem.B.dylib 0x9002bbc8 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x900306ac pthreadcondwait + 480
2 com.apple.Foundation 0x92968300 -[NSConditionLock lockWhenCondition:] + 68
3 com.apple.Syndication 0x9a70b42c -[AsyncDB _run:] + 192
4 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
5 libSystem.B.dylib 0x9002b508 pthreadbody + 96
Thread 6:
0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x92970164 -[NSRunLoop runMode:beforeDate:] + 172
5 com.apple.Foundation 0x9297009c -[NSRunLoop run] + 76
6 com.apple.Safari 0x0003d5f0 0x1000 + 247280
7 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
8 libSystem.B.dylib 0x9002b508 pthreadbody + 96
Thread 0 crashed with PPC Thread State 64:
srr0: 0x00000000907bfc88 srr1: 0x000000000200f030 vrsave: 0x0000000000000000
cr: 0x44042424 xer: 0x0000000020000004 lr: 0x00000000907bfb7c ctr: 0x00000000907bfb74
r0: 0x0000000000000486 r1: 0x00000000bfffd6d0 r2: 0x0000000000000000 r3: 0x0000000006382a30
r4: 0x0000000000000000 r5: 0x0000000000000000 r6: 0x00000000ffffffff r7: 0x000000002503f066
r8: 0x000000000883a500 r9: 0x0000000000000002 r10: 0x00000000a07bab8c r11: 0x00000000a021b8e0
r12: 0x00000000907bfb74 r13: 0x0000000000000000 r14: 0x0000000000000001 r15: 0x0000000000000001
r16: 0x0000000000000000 r17: 0x0000000000000000 r18: 0x0000000007e64e90 r19: 0x00000000bfffe3c0
r20: 0x0000000000000004 r21: 0x0000000000000000 r22: 0x00000000bfffe3a0 r23: 0x0000000000000000
r24: 0x0000000005b7a140 r25: 0x00000000bfffe45c r26: 0x0000000007e64e50 r27: 0x00000000a56859e0
r28: 0x0000000000000000 r29: 0x0000000006382a30 r30: 0x00000000004385a4 r31: 0x00000000907bfb7c
Binary Images Description:
0x1000 - 0xdcfff com.apple.Safari 2.0.4 (419.3) /Applications/Safari.app/Contents/MacOS/Safari
0x589000 - 0x591fff com.mac.bwebster.iPLM ??? (3.2.4) /Users/judytucc/Library/InputManagers/iPLM/iPLM.bundle/Contents/MacOS/iPLM
0x598000 - 0x5a1fff com.yourcompany.yourcocoabundle ??? (1.0) /Library/InputManagers/RapidoWrite/RapidoWrite.bundle/Contents/MacOS/RapidoWrit e
0x5f0000 - 0x5f6fff com.unsanity.smartcrashreports Smart Crash Reports version 1.0.3 (1.1) /Users/judytucc/Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports
0x5fc000 - 0x5fcfff com.aladdinsys.mmenabler 7.1.0 (8.0.2) /Library/InputManagers/MagicMenuEnabler/MagicMenuEnabler.bundle/Contents/MacOS/ MagicMenuEnabler
0x6159000 - 0x615bfff com.apple.textencoding.unicode 2.0 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x67c3000 - 0x6accfff com.macromedia.Flash Player.plugin 9.0.0 (1.0.4f20) /Library/Internet Plug-Ins/Flash Player.plugin/Contents/MacOS/Flash Player
0x8fe00000 - 0x8fe51fff dyld 45.3 /usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x9021b000 - 0x90268fff com.apple.CoreText 1.0.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x90293000 - 0x90344fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x90373000 - 0x9072dfff com.apple.CoreGraphics 1.258.38 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x907ba000 - 0x90893fff com.apple.CoreFoundation 6.4.6 (368.27) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908dc000 - 0x908dcfff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x908de000 - 0x909e0fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a3a000 - 0x90abefff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90ae8000 - 0x90b58fff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b6e000 - 0x90b80fff libauto.dylib /usr/lib/libauto.dylib
0x90b87000 - 0x90e5efff com.apple.CoreServices.CarbonCore 681.8 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x90ec4000 - 0x90f44fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x90f8e000 - 0x90fcffff com.apple.CFNetwork 129.19 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x90fe4000 - 0x90ffcfff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
0x9100c000 - 0x9108dfff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x910d3000 - 0x910fdfff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x9110e000 - 0x9111cfff libz.1.dylib /usr/lib/libz.1.dylib
0x9111f000 - 0x912dafff com.apple.security 4.6 (29770) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x913d9000 - 0x913e2fff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x913e9000 - 0x91411fff com.apple.SystemConfiguration 1.8.3 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x91424000 - 0x9142ffff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x91434000 - 0x9143cfff libbsm.dylib /usr/lib/libbsm.dylib
0x91440000 - 0x914bbfff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x914f8000 - 0x914f8fff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x914fa000 - 0x91532fff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
0x9154d000 - 0x9161afff com.apple.ColorSync 4.4.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x9166f000 - 0x91700fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x91747000 - 0x917fefff com.apple.QD 3.10.21 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x9183b000 - 0x91899fff com.apple.HIServices 1.5.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x918c8000 - 0x918ecfff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x91900000 - 0x91925fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
0x91938000 - 0x9197afff com.apple.LaunchServices 181 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
0x91996000 - 0x919aafff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x919b8000 - 0x919fafff com.apple.ImageIO.framework 1.5.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x91a10000 - 0x91ad7fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91b25000 - 0x91b3afff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91b3f000 - 0x91b5dfff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91b63000 - 0x91bd2fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91be9000 - 0x91bedfff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91bef000 - 0x91c4efff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91c53000 - 0x91c90fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91c97000 - 0x91cb0fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91cb5000 - 0x91cb8fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91cba000 - 0x91cbafff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91cbc000 - 0x91da1fff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x91da9000 - 0x91dc8fff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x91e34000 - 0x91ea2fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x91ead000 - 0x91f42fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x91f5c000 - 0x924e4fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x92517000 - 0x92842fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x92872000 - 0x928fafff com.apple.DesktopServices 1.3.5 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x9293b000 - 0x92b66fff com.apple.Foundation 6.4.6 (567.27) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92c84000 - 0x92d62fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x92d82000 - 0x92e70fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92e82000 - 0x92ea0fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92eab000 - 0x92f05fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92f23000 - 0x92f23fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92f25000 - 0x92f39fff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x92f51000 - 0x92f61fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x92f6d000 - 0x92f82fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x92f94000 - 0x9301bfff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x9302f000 - 0x9303afff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x93044000 - 0x93071fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x9308b000 - 0x9309bfff com.apple.print.framework.Print 5.0 (190.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x930a7000 - 0x9310dfff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x9313e000 - 0x9318dfff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x931bb000 - 0x931d8fff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x931ea000 - 0x931f7fff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x93200000 - 0x9350dfff com.apple.HIToolbox 1.4.8 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x9365c000 - 0x93668fff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x9366d000 - 0x9368dfff com.apple.DirectoryService.Framework 3.1 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x936e1000 - 0x936e1fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x936e3000 - 0x93d16fff com.apple.AppKit 6.4.7 (824.41) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x940a3000 - 0x94113fff com.apple.CoreData 80 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x9414c000 - 0x9420ffff com.apple.audio.toolbox.AudioToolbox 1.4.3 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x94261000 - 0x94261fff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x94263000 - 0x94436fff com.apple.QuartzCore 1.4.9 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x9448c000 - 0x944c9fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x944d1000 - 0x94521fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x945b2000 - 0x945eafff com.apple.vmutils 4.0.0 (85) /System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils
0x9462d000 - 0x94649fff com.apple.securityfoundation 2.2 (27710) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x9465d000 - 0x946a1fff com.apple.securityinterface 2.2 (27692) /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x946c5000 - 0x946d4fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x946dc000 - 0x946e8fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x9472e000 - 0x94746fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x9474d000 - 0x94a22fff com.apple.QuickTime 7.1.5 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94ae6000 - 0x94b57fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x94bca000 - 0x94beafff libmx.A.dylib /usr/lib/libmx.A.dylib
0x94cf2000 - 0x94e22fff com.apple.AddressBook.framework 4.0.4 (485.1) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x94eb4000 - 0x94ec3fff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
0x94ecb000 - 0x94ef8fff com.apple.LDAPFramework 1.4.1 (69.0.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x94eff000 - 0x94f0ffff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
0x94f13000 - 0x94f42fff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x94f52000 - 0x94f6ffff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x95686000 - 0x95714fff com.apple.WebKit 418.9.1 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x95770000 - 0x95806fff com.apple.JavaScriptCore 1.2 (418.3) /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCor e.framework/Versions/A/JavaScriptCore
0x95843000 - 0x95b4ffff com.apple.WebCore 418.21 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x95cd8000 - 0x95d01fff libxslt.1.dylib /usr/lib/libxslt.1.dylib
0x976f6000 - 0x97703fff com.apple.agl 2.5.6 (AGL-2.5.6) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x9a708000 - 0x9a73efff com.apple.Syndication 1.0.6 (54) /System/Library/PrivateFrameworks/Syndication.framework/Versions/A/Syndication
0x9a75b000 - 0x9a76dfff com.apple.SyndicationUI 1.0.6 (54) /System/Library/PrivateFrameworks/SyndicationUI.framework/Versions/A/Syndicatio nUI
Host Name: Judy
Date/Time: 2007-03-09 15:58:18.467 -0500
OS Version: 10.4.8 (Build 8L127)
Report Version: 4
Command: Safari
Path: /Applications/Safari.app/Contents/MacOS/Safari
Parent: WindowServer [68]
Version: 2.0.4 (419.3)
Build Version: 1
Project Name: WebBrowser
Source Version: 4190300
PID: 837
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x907bfc88 CFArrayGetValueAtIndex + 276
1 com.apple.CoreText 0x9026497c TSplicedFontDescriptor::GetFontMatrix() const + 96
2 com.apple.CoreText 0x902631f0 TFont::GetStrikeMatrix() const + 72
3 com.apple.CoreText 0x9023f05c TFont::InitStrikeMetrics() const + 56
4 com.apple.CoreText 0x90220af8 CTFontGetAscent + 68
5 com.apple.AppKit 0x9370f428 __NSFontInstanceInfoInitializeMetricsInfo + 48
6 com.apple.AppKit 0x937fdd0c -[__NSSharedFontInstanceInfo _isFixedPitch] + 44
7 com.apple.AppKit 0x937fdccc -[NSFont isFixedPitch] + 32
8 com.apple.WebKit 0x956a5a6c -[WebTextRendererFactory isFontFixedPitch:] + 140
9 com.apple.WebCore 0x958e62f8 QFont::isFixedPitch() const + 116
10 com.apple.WebCore 0x958e6234 khtml::RenderText::shouldUseMonospaceCache(khtml::Font const*) const + 40
11 com.apple.WebCore 0x958e6178 khtml::RenderText::cacheWidths() + 44
12 com.apple.WebCore 0x958e6138 khtml::RenderText::setStyle(khtml::RenderStyle*) + 300
13 com.apple.WebCore 0x95871dd8 DOM::NodeImpl::createRendererIfNeeded() + 208
14 com.apple.WebCore 0x95891fa0 DOM::TextImpl::attach() + 24
15 com.apple.WebCore 0x95864cb8 DOM::NodeBaseImpl::attach() + 52
16 com.apple.WebCore 0x95864cb8 DOM::NodeBaseImpl::attach() + 52
17 com.apple.WebCore 0x95864cb8 DOM::NodeBaseImpl::attach() + 52
18 com.apple.WebCore 0x95864cb8 DOM::NodeBaseImpl::attach() + 52
19 com.apple.WebCore 0x95864cb8 DOM::NodeBaseImpl::attach() + 52
20 com.apple.WebCore 0x95864cb8 DOM::NodeBaseImpl::attach() + 52
21 com.apple.WebCore 0x958a4c68 DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 208
22 com.apple.WebCore 0x958a4de4 DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 588
23 com.apple.WebCore 0x958613f0 DOM::DocumentImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 2512
24 com.apple.WebCore 0x9589b518 DOM::DocumentImpl::updateStyleSelector() + 72
25 com.apple.WebCore 0x95941080 DOM::CSSImportRuleImpl::setStyleSheet(DOM::DOMString const&, DOM::DOMString const&) + 428
26 com.apple.WebCore 0x958a2810 khtml::CachedCSSStyleSheet::checkNotify() + 352
27 com.apple.WebCore 0x958a2430 khtml::CachedCSSStyleSheet::data(QBuffer&, bool) + 336
28 com.apple.WebCore 0x958a2168 khtml::Loader::slotFinished(KIO::Job*, NSData*) + 428
29 com.apple.WebCore 0x95a1ba88 KWQSignal::callWithData(KIO::Job*, NSData*) const + 136
30 com.apple.WebCore 0x958a1f5c -[KWQResourceLoader finishJobAndHandle:] + 80
31 com.apple.WebKit 0x9569f494 -[WebSubresourceClient didFinishLoading] + 72
32 com.apple.WebKit 0x9569e71c -[WebBaseResourceHandleDelegate connectionDidFinishLoading:] + 48
33 com.apple.Foundation 0x9299384c -[NSURLConnection(NSURLConnectionInternal) _sendDidFinishLoadingCallback] + 188
34 com.apple.Foundation 0x92991ab8 -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] + 556
35 com.apple.Foundation 0x92991810 _sendCallbacks + 156
36 com.apple.CoreFoundation 0x907dd4cc __CFRunLoopDoSources0 + 384
37 com.apple.CoreFoundation 0x907dc9fc __CFRunLoopRun + 452
38 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
39 com.apple.HIToolbox 0x93208740 RunCurrentEventLoopInMode + 264
40 com.apple.HIToolbox 0x93207dd4 ReceiveNextEventCommon + 380
41 com.apple.HIToolbox 0x93207c40 BlockUntilNextEventMatchingListInMode + 96
42 com.apple.AppKit 0x936ebae4 _DPSNextEvent + 384
43 com.apple.AppKit 0x936eb7a8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
44 com.apple.Safari 0x00006740 0x1000 + 22336
45 com.apple.AppKit 0x936e7cec -[NSApplication run] + 472
46 com.apple.AppKit 0x937d887c NSApplicationMain + 452
47 com.apple.Safari 0x0005c77c 0x1000 + 374652
48 com.apple.Safari 0x0005c624 0x1000 + 374308
Thread 1:
0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x92970164 -[NSRunLoop runMode:beforeDate:] + 172
5 com.apple.Foundation 0x9297009c -[NSRunLoop run] + 76
6 com.apple.WebKit 0x95688ef0 +[WebFileDatabase _syncLoop:] + 176
7 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
8 libSystem.B.dylib 0x9002b508 pthreadbody + 96
Thread 2:
0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x9298869c +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 264
5 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002b508 pthreadbody + 96
Thread 3:
0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x929897dc +[NSURLCache _diskCacheSyncLoop:] + 152
5 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002b508 pthreadbody + 96
Thread 4:
0 libSystem.B.dylib 0x9001f08c select + 12
1 com.apple.CoreFoundation 0x907ef40c __CFSocketManager + 472
2 libSystem.B.dylib 0x9002b508 pthreadbody + 96
Thread 5:
0 libSystem.B.dylib 0x9002bbc8 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x900306ac pthreadcondwait + 480
2 com.apple.Foundation 0x92968300 -[NSConditionLock lockWhenCondition:] + 68
3 com.apple.Syndication 0x9a70b42c -[AsyncDB _run:] + 192
4 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
5 libSystem.B.dylib 0x9002b508 pthreadbody + 96
Thread 6:
0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x92970164 -[NSRunLoop runMode:beforeDate:] + 172
5 com.apple.Foundation 0x9297009c -[NSRunLoop run] + 76
6 com.apple.Safari 0x0003d5f0 0x1000 + 247280
7 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
8 libSystem.B.dylib 0x9002b508 pthreadbody + 96
Thread 0 crashed with PPC Thread State 64:
srr0: 0x00000000907bfc88 srr1: 0x000000000200f030 vrsave: 0x0000000000000000
cr: 0x44042424 xer: 0x0000000020000004 lr: 0x00000000907bfb7c ctr: 0x00000000907bfb74
r0: 0x0000000000000486 r1: 0x00000000bfffd730 r2: 0x0000000000000000 r3: 0x00000000083fe0c0
r4: 0x0000000000000000 r5: 0x0000000000000000 r6: 0x00000000ffffffff r7: 0x000000002503f066
r8: 0x000000000883a500 r9: 0x0000000000000002 r10: 0x00000000a07bab8c r11: 0x00000000a021b8e0
r12: 0x00000000907bfb74 r13: 0x0000000000000000 r14: 0x0000000000000001 r15: 0x0000000000000001
r16: 0x0000000000000000 r17: 0x0000000000000000 r18: 0x0000000005b7a5c0 r19: 0x00000000bfffe420
r20: 0x0000000000000004 r21: 0x0000000000000000 r22: 0x00000000bfffe400 r23: 0x0000000000000000
r24: 0x0000000005bd47c0 r25: 0x00000000bfffe4bc r26: 0x0000000005b7a580 r27: 0x00000000a56859e0
r28: 0x0000000000000000 r29: 0x00000000083fe0c0 r30: 0x000000000043be24 r31: 0x00000000907bfb7c
Binary Images Description:
0x1000 - 0xdcfff com.apple.Safari 2.0.4 (419.3) /Applications/Safari.app/Contents/MacOS/Safari
0x589000 - 0x591fff com.mac.bwebster.iPLM ??? (3.2.4) /Users/judytucc/Library/InputManagers/iPLM/iPLM.bundle/Contents/MacOS/iPLM
0x598000 - 0x5a1fff com.yourcompany.yourcocoabundle ??? (1.0) /Library/InputManagers/RapidoWrite/RapidoWrite.bundle/Contents/MacOS/RapidoWrit e
0x5f0000 - 0x5f6fff com.unsanity.smartcrashreports Smart Crash Reports version 1.0.3 (1.1) /Users/judytucc/Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports
0x5fc000 - 0x5fcfff com.aladdinsys.mmenabler 7.1.0 (8.0.2) /Library/InputManagers/MagicMenuEnabler/MagicMenuEnabler.bundle/Contents/MacOS/ MagicMenuEnabler
0x61ee000 - 0x61f0fff com.apple.textencoding.unicode 2.0 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x677b000 - 0x6a84fff com.macromedia.Flash Player.plugin 9.0.0 (1.0.4f20) /Library/Internet Plug-Ins/Flash Player.plugin/Contents/MacOS/Flash Player
0x8fe00000 - 0x8fe51fff dyld 45.3 /usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x9021b000 - 0x90268fff com.apple.CoreText 1.0.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x90293000 - 0x90344fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x90373000 - 0x9072dfff com.apple.CoreGraphics 1.258.38 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x907ba000 - 0x90893fff com.apple.CoreFoundation 6.4.6 (368.27) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908dc000 - 0x908dcfff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x908de000 - 0x909e0fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a3a000 - 0x90abefff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90ae8000 - 0x90b58fff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b6e000 - 0x90b80fff libauto.dylib /usr/lib/libauto.dylib
0x90b87000 - 0x90e5efff com.apple.CoreServices.CarbonCore 681.8 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x90ec4000 - 0x90f44fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x90f8e000 - 0x90fcffff com.apple.CFNetwork 129.19 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x90fe4000 - 0x90ffcfff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
0x9100c000 - 0x9108dfff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x910d3000 - 0x910fdfff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x9110e000 - 0x9111cfff libz.1.dylib /usr/lib/libz.1.dylib
0x9111f000 - 0x912dafff com.apple.security 4.6 (29770) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x913d9000 - 0x913e2fff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x913e9000 - 0x91411fff com.apple.SystemConfiguration 1.8.3 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x91424000 - 0x9142ffff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x91434000 - 0x9143cfff libbsm.dylib /usr/lib/libbsm.dylib
0x91440000 - 0x914bbfff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x914f8000 - 0x914f8fff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x914fa000 - 0x91532fff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
0x9154d000 - 0x9161afff com.apple.ColorSync 4.4.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x9166f000 - 0x91700fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x91747000 - 0x917fefff com.apple.QD 3.10.21 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x9183b000 - 0x91899fff com.apple.HIServices 1.5.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x918c8000 - 0x918ecfff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x91900000 - 0x91925fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
0x91938000 - 0x9197afff com.apple.LaunchServices 181 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
0x91996000 - 0x919aafff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x919b8000 - 0x919fafff com.apple.ImageIO.framework 1.5.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x91a10000 - 0x91ad7fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91b25000 - 0x91b3afff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91b3f000 - 0x91b5dfff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91b63000 - 0x91bd2fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91be9000 - 0x91bedfff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91bef000 - 0x91c4efff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91c53000 - 0x91c90fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91c97000 - 0x91cb0fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91cb5000 - 0x91cb8fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91cba000 - 0x91cbafff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91cbc000 - 0x91da1fff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x91da9000 - 0x91dc8fff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x91e34000 - 0x91ea2fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x91ead000 - 0x91f42fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x91f5c000 - 0x924e4fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x92517000 - 0x92842fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x92872000 - 0x928fafff com.apple.DesktopServices 1.3.5 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x9293b000 - 0x92b66fff com.apple.Foundation 6.4.6 (567.27) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92c84000 - 0x92d62fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x92d82000 - 0x92e70fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92e82000 - 0x92ea0fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92eab000 - 0x92f05fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92f23000 - 0x92f23fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92f25000 - 0x92f39fff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x92f51000 - 0x92f61fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x92f6d000 - 0x92f82fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x92f94000 - 0x9301bfff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x9302f000 - 0x9303afff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x93044000 - 0x93071fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x9308b000 - 0x9309bfff com.apple.print.framework.Print 5.0 (190.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x930a7000 - 0x9310dfff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x9313e000 - 0x9318dfff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x931bb000 - 0x931d8fff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x931ea000 - 0x931f7fff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x93200000 - 0x9350dfff com.apple.HIToolbox 1.4.8 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x9365c000 - 0x93668fff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x9366d000 - 0x9368dfff com.apple.DirectoryService.Framework 3.1 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x936e1000 - 0x936e1fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x936e3000 - 0x93d16fff com.apple.AppKit 6.4.7 (824.41) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x940a3000 - 0x94113fff com.apple.CoreData 80 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x9414c000 - 0x9420ffff com.apple.audio.toolbox.AudioToolbox 1.4.3 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x94261000 - 0x94261fff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x94263000 - 0x94436fff com.apple.QuartzCore 1.4.9 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x9448c000 - 0x944c9fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x944d1000 - 0x94521fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x945b2000 - 0x945eafff com.apple.vmutils 4.0.0 (85) /System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils
0x9462d000 - 0x94649fff com.apple.securityfoundation 2.2 (27710) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x9465d000 - 0x946a1fff com.apple.securityinterface 2.2 (27692) /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x946c5000 - 0x946d4fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x946dc000 - 0x946e8fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x9472e000 - 0x94746fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x9474d000 - 0x94a22fff com.apple.QuickTime 7.1.5 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94ae6000 - 0x94b57fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x94bca000 - 0x94beafff libmx.A.dylib /usr/lib/libmx.A.dylib
0x94cf2000 - 0x94e22fff com.apple.AddressBook.framework 4.0.4 (485.1) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x94eb4000 - 0x94ec3fff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
0x94ecb000 - 0x94ef8fff com.apple.LDAPFramework 1.4.1 (69.0.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x94eff000 - 0x94f0ffff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
0x94f13000 - 0x94f42fff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x94f52000 - 0x94f6ffff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x95686000 - 0x95714fff com.apple.WebKit 418.9.1 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x95770000 - 0x95806fff com.apple.JavaScriptCore 1.2 (418.3) /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCor e.framework/Versions/A/JavaScriptCore
0x95843000 - 0x95b4ffff com.apple.WebCore 418.21 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x95cd8000 - 0x95d01fff libxslt.1.dylib /usr/lib/libxslt.1.dylib
0x976f6000 - 0x97703fff com.apple.agl 2.5.6 (AGL-2.5.6) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x9a708000 - 0x9a73efff com.apple.Syndication 1.0.6 (54) /System/Library/PrivateFrameworks/Syndication.framework/Versions/A/Syndication
0x9a75b000 - 0x9a76dfff com.apple.SyndicationUI 1.0.6 (54) /System/Library/PrivateFrameworks/SyndicationUI.framework/Versions/A/Syndicatio nUI
Host Name: Judy
Date/Time: 2007-03-09 19:17:27.901 -0500
OS Version: 10.4.8 (Build 8L127)
Report Version: 4
Command: Safari
Path: /Applications/Safari.app/Contents/MacOS/Safari
Parent: WindowServer [68]
Version: 2.0.4 (419.3)
Build Version: 1
Project Name: WebBrowser
Source Version: 4190300
PID: 863
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x907bfc88 CFArrayGetValueAtIndex + 276
1 com.apple.CoreText 0x9026497c TSplicedFontDescriptor::GetFontMatrix() const + 96
2 com.apple.CoreText 0x902631f0 TFont::GetStrikeMatrix() const + 72
3 com.apple.CoreText 0x9023f05c TFont::InitStrikeMetrics() const + 56
4 com.apple.CoreText 0x90220af8 CTFontGetAscent + 68
5 com.apple.AppKit 0x9370f428 __NSFontInstanceInfoInitializeMetricsInfo + 48
6 com.apple.AppKit 0x937fdd0c -[__NSSharedFontInstanceInfo _isFixedPitch] + 44
7 com.apple.AppKit 0x937fdccc -[NSFont isFixedPitch] + 32
8 com.apple.WebKit 0x956a5a6c -[WebTextRendererFactory isFontFixedPitch:] + 140
9 com.apple.WebCore 0x958e62f8 QFont::isFixedPitch() const + 116
10 com.apple.WebCore 0x958e6234 khtml::RenderText::shouldUseMonospaceCache(khtml::Font const*) const + 40
11 com.apple.WebCore 0x958e6178 khtml::RenderText::cacheWidths() + 44
12 com.apple.WebCore 0x958e6138 khtml::RenderText::setStyle(khtml::RenderStyle*) + 300
13 com.apple.WebCore 0x95871dd8 DOM::NodeImpl::createRendererIfNeeded() + 208
14 com.apple.WebCore 0x95891fa0 DOM::TextImpl::attach() + 24
15 com.apple.WebCore 0x95870530 KHTMLParser::insertNode(DOM::NodeImpl*, bool) + 304
16 com.apple.WebCore 0x9586efa0 KHTMLParser::parseToken(khtml::Token*) + 612
17 com.apple.WebCore 0x9586c084 khtml::HTMLTokenizer::processToken() + 460
18 com.apple.WebCore 0x9586b8f0 khtml::HTMLTokenizer::write(khtml::TokenizerString const&, bool) + 900
19 com.apple.WebCore 0x95866f6c KHTMLPart::write(char const*, int) + 852
20 com.apple.WebKit 0x956cc664 -[WebDataSource(WebPrivate) _commitLoadWithData:] + 92
21 com.apple.WebKit 0x95697da8 -[WebMainResourceClient addData:] + 84
22 com.apple.WebKit 0x95697cd4 -[WebBaseResourceHandleDelegate didReceiveData:lengthReceived:] + 68
23 com.apple.WebKit 0x956f3624 -[WebMainResourceClient didReceiveData:lengthReceived:] + 136
24 com.apple.WebKit 0x95697c70 -[WebBaseResourceHandleDelegate connection:didReceiveData:lengthReceived:] + 60
25 com.apple.Foundation 0x929935d4 -[NSURLConnection(NSURLConnectionInternal) _sendDidReceiveDataCallback] + 564
26 com.apple.Foundation 0x92991a74 -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] + 488
27 com.apple.Foundation 0x92991810 _sendCallbacks + 156
28 com.apple.CoreFoundation 0x907dd4cc __CFRunLoopDoSources0 + 384
29 com.apple.CoreFoundation 0x907dc9fc __CFRunLoopRun + 452
30 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
31 com.apple.HIToolbox 0x93208740 RunCurrentEventLoopInMode + 264
32 com.apple.HIToolbox 0x93207dd4 ReceiveNextEventCommon + 380
33 com.apple.HIToolbox 0x9320Hi -
That's quite a crash report.
Two things.
I'm wondering if you disabled a font necessary for Safari to run properly? Try Safari from another User Account and see if it crashes.
Here's guidance, if you require it, for creating a new User Account:
Here is guidance from Apple on how to set up the account. You can ignore step 7 in the article.
Also, on the system preference>Accounts panel, click on "log-in" options. There, select "fast user switching". This allows you to go back and forth between user accounts via an icon in your Menu Bar at the top of the computer screen.
Log-on to the new account and start Safari. If Safari is stable in the new account, then your problem is specific to your regular user account. Otherwise, similar response means a system-wide problem.
Also, unrelated but pertinent, upgrade your Flash plug-in to the most current version. Do this after the Crash issue is resolved.
When the Flash install is complete, Safari automatically opens to the Adobe Flash page confirming the plug-in was correctly installed. Quit Safari and "repair permissions" using Disk Utility in the Utilities folder.
Post back -
How to use CSS in JEditorPane?
I want to dispalay a XML file in JEditorPane with CSS. I have do the following:
StyleSheet stylesheet=new StyleSheet();
FileReader in=new FileReader(cssFileName);
stylesheet.loadRules(in,null);
HTMLEditorKit kit=(HTMLEditorKit)ShowPane.getEditorKitForContentType("text/html");
kit.setStyleSheet(stylesheet);
ShowPane.setEditorKit(kit);
ShowPane.setPage(this.getClass().getResource(xmlFileName));
But the stylesheet seems have no effect on the output of the JEditorPane-ShowPane.why?JEditorPane with StyleSheets, CSS, is partially supported by Java 2, on level 1, but not perfect. To load it, you should invoke it's loadRules method, passing it a Reader corresponding to the StyleSheet file, using the method : public void loadRules(Reader in, URL ref) throws IOException
-
How to apply XSLT to XML file while importing XML data using XSU plsql API
I need to load XML file with nested repeating elements into Oracle tables and I am using XSU PLSQL API utility package dbms_xmlSave.insertXML. Can use XMLGen package also!!
I found out through documentation that I need to have XML file with ROWSET/ROW tags around the elements. As I have no control of XML file coming from external source, so I wish to apply XSLT to XML. I found setXSLT/setStylesheet procedures but it's not working as expected.
Can you help me with some sample code for the purpose.
ThanksI'm new at XML and XSL as well, but maybe the following code I built can help:
CREATE OR REPLACE PACKAGE Xml_Pkg AS
/* this record and table type are used for the transformTags procedure */
TYPE TagTransform_t IS RECORD (
old_tag VARCHAR2(255),
new_tag VARCHAR2(255) );
TYPE TagTransformList_t IS TABLE OF TagTransform_t INDEX BY BINARY_INTEGER;
/* use DBMS_OUTPUT to print out a CLOB */
PROCEDURE printClobOut(p_clob IN OUT NOCOPY CLOB);
/* using a list of old/new tags, transform all old into new in XML2 */
PROCEDURE transformTags(
p_List TagTransformList_t,
p_XML1 IN OUT NOCOPY CLOB,
p_XML2 IN OUT NOCOPY CLOB);
END Xml_Pkg;
CREATE OR REPLACE PACKAGE BODY Xml_Pkg AS
/* print a CLOB using newlines */
PROCEDURE printClobOut(p_clob IN OUT NOCOPY CLOB) IS
buffer_overflow EXCEPTION;
PRAGMA EXCEPTION_INIT(buffer_overflow,-20000);
l_offset NUMBER;
l_len NUMBER;
l_o_buf VARCHAR2(255);
l_amount NUMBER; --}
l_f_amt NUMBER := 0; --}To hold the amount of data
l_f_amt2 NUMBER; --}to be read or that has been
l_amt2 NUMBER := -1; --}read
l_offset2 NUMBER;
l_amt3 NUMBER;
l_chk NUMBER := 255;
BEGIN
l_len := DBMS_LOB.GETLENGTH(p_clob);
l_offset := 1;
WHILE l_len > 0 LOOP
l_amount := DBMS_LOB.INSTR(p_clob,CHR(10),l_offset,1);
--Amount returned is the count from the start of the file,
--not from the offset.
IF l_amount = 0 THEN
--No more linefeeds so need to read remaining data.
l_amount := l_len;
l_amt2 := l_amount;
ELSE
l_f_amt2 := l_amount; --Store position of next LF
l_amount := l_amount - l_f_amt; --Calc position from last LF
l_f_amt := l_f_amt2; --Store position for next time
l_amt2 := l_amount - 1; --Read up to but not the LF
END IF;
/* divide the read into 255 character chunks for dbms_output */
IF l_amt2 != 0 THEN
l_amt3 := l_amt2;
l_offset2 := l_offset;
WHILE l_amt3 > l_chk LOOP
DBMS_LOB.READ(p_clob,l_chk,l_offset2,l_o_buf);
DBMS_OUTPUT.PUT_LINE(l_o_buf);
l_amt3 := l_amt3 - l_chk;
l_offset2 := l_offset2 + l_chk;
END LOOP;
IF l_amt3 != 0 THEN
DBMS_LOB.READ(p_clob,l_amt3,l_offset2,l_o_buf);
DBMS_OUTPUT.PUT_LINE(l_o_buf);
END IF;
END IF;
l_len := l_len - l_amount;
l_offset := l_offset+l_amount;
END LOOP;
EXCEPTION
WHEN buffer_overflow THEN
RETURN;
END printClobOut;
/* shortcut "writeline" procedure for CLOB buffer writes */
PROCEDURE wr(p_clob IN OUT NOCOPY CLOB, s VARCHAR2) IS
BEGIN
DBMS_LOB.WRITEAPPEND(p_clob,LENGTH(s)+1,s||CHR(10));
END;
/* the standard XSLT should include the identity template or the output XML will be malformed */
PROCEDURE newXsltHeader(p_xsl IN OUT NOCOPY CLOB, p_identity_template BOOLEAN DEFAULT TRUE) IS
BEGIN
DBMS_LOB.TRIM(p_xsl,0);
/* standard XSL header */
wr(p_xsl,'<?xml version="1.0"?>');
/* note that the namespace for the xsl is restricted to the w3 1999/XSL */
wr(p_xsl,'<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">');
IF p_identity_template THEN
/* create identity template (transfers all "other" nodes) */
wr(p_xsl,' <xsl:template match="node()">');
wr(p_xsl,' <xsl:copy>');
wr(p_xsl,' <xsl:apply-templates/>');
wr(p_xsl,' </xsl:copy>');
wr(p_xsl,' </xsl:template>');
END IF;
END newXsltHeader;
PROCEDURE newXsltFooter(p_xsl IN OUT NOCOPY CLOB) IS
BEGIN
/* standard xsl footer */
wr(p_xsl,'</xsl:stylesheet>');
END newXsltFooter;
/* using the stylesheet in p_xsl, transform p_XML1 into p_XML2 */
PROCEDURE transformXML(p_xsl IN OUT NOCOPY CLOB, p_XML1 IN OUT NOCOPY CLOB, p_XML2 IN OUT NOCOPY CLOB) IS
l_parser XMLPARSER.Parser;
l_doc XMLDOM.DOMDocument;
l_xsl_proc XSLPROCESSOR.Processor;
l_xsl_ss XSLPROCESSOR.Stylesheet;
BEGIN
/* parse XSL CLOB */
l_parser := XMLPARSER.newParser;
BEGIN
XMLPARSER.showWarnings(l_parser,TRUE);
XMLPARSER.parseClob(l_parser,p_xsl);
l_doc := XMLPARSER.getDocument(l_parser);
XMLPARSER.freeParser(l_parser);
EXCEPTION
WHEN OTHERS THEN
XMLPARSER.freeParser(l_parser);
RAISE;
END;
/* get Stylesheet from DOMDOC */
l_xsl_ss := XSLPROCESSOR.newStylesheet(l_doc,NULL);
BEGIN
/* parse XML1 CLOB */
l_parser := XMLPARSER.newParser;
BEGIN
XMLPARSER.showWarnings(l_parser,TRUE);
XMLPARSER.parseClob(l_parser,p_xml1);
l_doc := XMLPARSER.getDocument(l_parser);
XMLPARSER.freeParser(l_parser);
EXCEPTION
WHEN OTHERS THEN
XMLPARSER.freeParser(l_parser);
RAISE;
END;
/* process doc to XML2 */
l_xsl_proc := XSLPROCESSOR.newProcessor;
BEGIN
XSLPROCESSOR.processXSL(l_xsl_proc, l_xsl_ss, l_doc, p_xml2);
XSLPROCESSOR.freeProcessor(l_xsl_proc);
EXCEPTION
WHEN OTHERS THEN
XSLPROCESSOR.freeProcessor(l_xsl_proc);
RAISE;
END;
XSLPROCESSOR.freeStylesheet(l_xsl_ss);
EXCEPTION
WHEN OTHERS THEN
XSLPROCESSOR.freeStylesheet(l_xsl_ss);
RAISE;
END;
END transformXML;
/* transform XML1 into XML2 using list p_List of old/new tags */
PROCEDURE transformTags(p_List TagTransformList_t, p_XML1 IN OUT NOCOPY CLOB, p_XML2 IN OUT NOCOPY CLOB) IS
l_xsl CLOB;
BEGIN
/* create XSL CLOB */
DBMS_LOB.CREATETEMPORARY(l_xsl,TRUE);
/* create standard header with identity template */
newXsltHeader(l_xsl,TRUE);
/* create one template for each node translation */
FOR i IN 1..p_List.COUNT LOOP
wr(l_xsl,' <xsl:template match="'||p_List(i).old_tag||'">');
wr(l_xsl,' <'||p_List(i).new_tag||'><xsl:apply-templates/></'||p_List(i).new_tag||'>');
wr(l_xsl,' </xsl:template>');
END LOOP;
/* create standard footer */
newXsltFooter(l_xsl);
-- dbms_output.put_line('l_xsl:');
-- dbms_output.put_line('--------------------');
-- printClobOut(l_xsl);
-- dbms_output.put_line('--------------------');
transformXML(l_xsl, p_XML1, p_XML2);
DBMS_LOB.FREETEMPORARY(l_xsl);
/* -- unit testing
set serveroutput on size 100000
Declare
queryContext DBMS_XMLQUERY.ctxType;
xList XML_PKG.TagTransformList_t;
xmlCLOB CLOB;
xmlCLOB2 CLOB;
Begin
DBMS_LOB.CREATETEMPORARY(xmlCLOB,true);
DBMS_LOB.CREATETEMPORARY(xmlCLOB2,true);
xList(1).old_tag := 'A';
xList(1).new_tag := 'MyTag1';
xList(2).old_tag := 'B';
xList(2).new_tag := 'MyTag2';
queryContext := DBMS_XMLQUERY.newContext('Select * from t');
xmlCLOB := DBMS_XMLQUERY.getXML(queryContext);
DBMS_XMLQuery.closeContext(queryContext);
dbms_output.put_line('xmlCLOB:');
dbms_output.put_line('--------------------');
XML_PKG.printClobOut(xmlCLOB);
dbms_output.put_line('--------------------');
xml_pkg.transformTags(xList,xmlCLOB,xmlCLOB2);
dbms_output.put_line('xml2CLOB:');
dbms_output.put_line('--------------------');
XML_PKG.printClobOut(xmlCLOB2);
dbms_output.put_line('--------------------');
DBMS_LOB.FREETEMPORARY(xmlCLOB);
DBMS_LOB.FREETEMPORARY(xmlCLOB2);
End;
END transformTags;
END Xml_Pkg; -
I'm trying to display html pages inside of a JEditorPane using a CSS. I've got some lines of code but I'm not sure which are needed. Here's what I have.
htmlPane.setEditable(false);
htmlPane.setContentType("text/html");
HTMLEditorKit kit = new HTMLEditorKit();
kit.setStyleSheet(getStyles());
HTMLDocument htmlDoc = (HTMLDocument)kit.createDefaultDocument();
htmlPane.setEditorKit(kit);
htmlPane.setDocument(htmlDoc);
getStyles() points to my .css file.
Now how do I display the page? Do I use htmlPane.setPage(), setText(), read(), or something else? If i'm supposed to use htmlDoc how do I add content to that?
I need to display an xml file formatted nicely without the tags. Any help or advice would be greatly appreciated.
ThanksHi Elad,
For JSPs to access this css file here is the sample code. Make sure that you keep your css file inside dist->css folder.
<Html>
<Head>
<%@ page import="com.sapportals.portal.prt.component.IPortalComponentResponse"%>
<%@ page import="com.sapportals.portal.prt.resource.IResource"%>
<%
IPortalComponentResponse componentResponse =
(IPortalComponentResponse)pageContext.getAttribute(javax.servlet.jsp.PageContext.RESPONSE);
IResource suckerfishCss = componentRequest.getResource(IResource.CSS, "css/GlobalReportStyles.css");
componentResponse.include(componentRequest, suckerfishCss);
%>
</Head>
<body>
</body>
</html>
Now the class files must be availble to you.
Regards,
Vishal -
Cascading Style Sheets in JEditorPane..
I have created a Java program that displays an HTML page in a JEditorPane. The JEditorPane seems to have a problem displaying pages with internal Cascading Style Sheets. The app grabs an HTML file off my and displays it in the JEditorPane but the file does not display correctly. I have tested it with sites that use external Style Sheets and it seems to work fine.
Does anyone know anything about this?
Thanks, JasonHi Jason,
you could try to explicitly set the style sheet to one you pick by the following sample
StyleSheet ss = getStyleSheet("style.css");
HTMLEditorKit editorKit = new HTMLEditorKit();
editorKit.setStyleSheet(ss);
hd = (HTMLDocument) editorKit.createDefaultDocument(ss);method 'getStyleSheet' looks as follows
private StyleSheet getStyleSheet(File cssFile)
throws MalformedURLException, IOException
StyleSheet ss = null;
URL cssUrl = cssFile.toURL();
BufferedReader br = new BufferedReader(
new InputStreamReader(cssUrl.openStream()));
ss = new StyleSheet();
ss.loadRules(br, cssUrl);
br.close();
return ss;
}hope this heps
Ulrich -
Steve,
Were you ever able to look at this item? In the meantime, my work around was to do a separate xsql query for each sub-query(cursor) and then append nodes in my DOM as I went along. But, I would like to help this tool be better. I think I have determined that if one of the sub-select/sub-cursor queries doesn't return anything, I get the "invalid cursor" error. Does that make sense to you? I think that if a the result should still be a blank node
( </NODE> ). What do you think?
thanks,
chad.
-----Original Message-----
From: Chad Small
Sent: Friday, September 22, 2000 9:31 AM
To: 'Steve Muench'
Subject: RE: LONG data type and subsequent CURSOR's question/problem
I attached two files:
1. file with sql script - you'll have to change the schema.
2. file with code. Two sections
a. 1st with jdbc result set code
b. 2nd with OracleXMLQuery
I comment out one or the other code section to run one or the other.
If you need any other information, please let me know.
thanks,
chad.
-----Original Message-----
From: Steve Muench [mailto:[email protected]]
Sent: Thursday, September 21, 2000 4:14 PM
To: Chad Small
Subject: Re: LONG data type and subsequent CURSOR's question/problem
Is it possible to send me CREATE TABLE script with one row
of sample data inserted that reproduces the problem?
Thanks.
Steve Muench, Lead XML Evangelist & Consulting Product Manager
BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
Author "Building Oracle XML Applications", O'Reilly http://www.oreilly.com/catalog/orxmlapp/
----- Original Message -----
From: "Chad Small" <[email protected]>
To: "'Steve Muench'" <[email protected]>
Sent: Thursday, September 21, 2000 3:56 PM
Subject: RE: LONG data type and subsequent CURSOR's question/problem
|
| Using the same query string on both programs:
|
| String xsqlString =
| "SELECT hwp.publish_document_id, hwp.topic_id, hwp.section_id,
| hwp.body, " +
| "CURSOR( SELECT hws.name as section_name " +
| "FROM health.section hws " +
| "WHERE hwp.section_id = hws.section_id) as section " +
| "FROM health.publish_document hwp " +
| "WHERE hwp.publish_document_id IN (13729, 1033, 11695)";
| ____________________________________________________________________________
| ______
| This works - simple JDBC program :
|
| PreparedStatement stmt = conn.prepareStatement(xsqlString);
| ResultSet rs = stmt.executeQuery();
|
| int n=1;
| while( rs.next() ) {
| System.out.println(n+": publish_document_id =
| "+rs.getInt("publish_document_id"));
| System.out.println(n+": topic_id = "+rs.getInt("topic_id"));
| System.out.println(n+": section_id = "+rs.getInt("section_id"));
| n++;
| }
| rs.close();
| stmt.close();
| conn.close();
| ____________________________________________________________________________
| ______
| This does not work - simple OracleXMLQuery:
|
| OracleXMLQuery qry = new OracleXMLQuery(conn, xsqlString);
| System.out.println("after\n");
| // structure the generated XML document
| qry.setMaxRows(1); // set the maximum number of rows to be returned
| qry.setStyleSheet("file:D:\\xsql\\bin\\healthwise.xsl"); // sets the
| stylesheet
|
| // get the XML document in string format
| String xmlString = qry.getXMLString();
|
| // print out the XML document
| System.out.println(" OUTPUT IS:\n"+xmlString);
| conn.close();
| ____________________________________________________________________________
| _______
| -> get this:
|
| OUTPUT IS:
| <?xml version = '1.0'?>
| <ERROR>oracle.xml.sql.OracleXMLSQLException: Stream has already been
| closed</ERROR>
|
|
| java.sql.SQLException: ORA-01001: invalid cursor
|
| at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
| at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
| at oracle.jdbc.ttc7.Oclose.receive(Oclose.java:126)
| at oracle.jdbc.ttc7.TTC7Pr otocol.close(TTC7Protocol.java:493)
| at oracle.jdbc.driver.OracleStatement.close(OracleStatement.java:467)
| at
| oracle.jdbc.driver.OracleConnection.close_statements(OracleConnection.java:1
| 141)
| at oracle.jdbc.driver.OracleConnection.close(OracleConnection.java:537)
| at com.healthecare.search.apelon.xmlquerydb.main(xmlquerydb.java:116)
| at symantec.tools.debug.Agent.runMain(Native Method)
| at symantec.tools.debug.MainThread.run(Agent.java:48)
|
|
| Please advise.
|
| thanks,
| chad.
| -----Original Message-----
| From: Steve Muench [mailto:[email protected]]
| Sent: Thursday, September 21, 2000 1:46 PM
| To: Chad Small
| Subject: Re: LONG data type and subsequent CURSOR's question/problem
|
|
| Are you able to test the query that does cause the
| problem with:
|
| -> The command-line XSU utility
| -> A simple JDBC program that creates a prepared statement
| with this query and executes it to produce a result set
|
| I want to know if the problem is in JDBC or XSU.
|
| ______________________________________________________________
| Steve Muench, Lead XML Evangelist & Consulting Product Manager
| BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
| Author "Building Oracle XML Applications", O'Reilly
| http://www.oreilly.com/catalog/orxmlapp/
|
| ----- Original Message -----
| From: "Chad Small" <[email protected]>
| To: "'Steve Muench'" <[email protected]>
| Sent: Thursday, September 21, 2000 1:09 PM
| Subject: RE: LONG data type and subsequent CURSOR's question/problem
|
|
| | The problem does NOT occur in (1) -simple query.
| | And yes, the problem does occur in (2) - in combination with CURSOR.
| |
| | thanks,
| | chad.
| |
| | -----Original Message-----
| | From: Steve Muench [mailto:[email protected]]
| | Sent: Thursday, September 21, 2000 11:44 AM
| | To: Chad Small
| | Subject: Re: LONG data type and subsequent CURSOR's question/problem
| |
| |
| | Trying to isolate the problem a little...
| |
| | (1) Does the problem occur if you do a simple query like:
| |
| | SELECT body FROM table
| |
| | with just the LONG column?
| |
| | (2) Or does it only happen in combination with CURSOR() ?
| |
| | ______________________________________________________________
| | Steve Muench, Lead XML Evangelist & Consulting Product Manager
| | BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
| | Author "Building Oracle XML Applications", O'Reilly
| | http://www.oreilly.com/catalog/orxmlapp/
| |
| | ----- Original Message -----
| | From: "Chad Small" <[email protected]>
| | To: <[email protected]>
| | Sent: Thursday, September 21, 2000 10:24 AM
| | Subject: LONG data type and subsequent CURSOR's question/problem
| |
| |
| | | Hello Steve,
| | |
| | | First I want to thank-you for all of the support you put into Oracle's
| XML
| | | board. I just ordered your book from Fatbrain and it's on back order!
| I
| | | tried asking my question on the board and didn't have any luck getting
| any
| | | responses - maybe people didn't understand my question. I'm desperate
| for
| | | this to work and really need some guidance.
| | |
| | | I'm using the command line to extract data from tables to XML
| | | (.bin\xsql\bin\xsql healthwise.xsql chad.xml). Everything works
| | wonderfully
| | | until I add a LONG data type to the mix. Here is my xsql before the
| LONG:
| | |
| | | <?xml version="1.0"?>
| | | <!-- healthwise_xslt.xsql -->
| | | <xsql:query
| | | xmlns:xsql="urn:oracle-xsql"
| | | connection="healthwise_dev2"
| | | max-rows="22050" >
| | |
| | | SELECT hwp.publish_document_id, hwp.topic_id, hwp.section_id,
| | | CURSOR( SELECT hws.name as section_name
| | | FROM health.section hws
| | | WHERE hwp.section_id = hws.section_id) as section,
| | | CURSOR( SELECT hwk.name as keyword_name
| | | FRO M health.keyword hwk, health.map_keyword_object
| | | hwmko, health.object hwo
| | | WHERE (hwp.publish_document_id =
| | | hwo.publish_document_id) and
| | | (hwo.object_id = hwmko.object_id) and
| | | (hwmko.keyword_id = hwk.keyword_id) ) as keywords,
| | | CURSOR( SELECT hwt.name as topic_name,
| | | CURSOR( SELECT hwts.name as topic_synonym_name
| | | FROM health.topic_synonym hwts
| | | WHERE hwt.topic_id = hwts.topic_id) as
| | | topic_synonyms,
| | | CURSOR( SELECT hwc.name as catagory_name
| | | FROM health.category hwc,
| | health.map_category_topic
| | | hwmct
| | | WHERE (hwt.topic_id = hwmct.topic_id) and
| | | (hwmct.category_id = hwc.category_id) ) as catagories
| | | FROM health.topic hwt
| | | WHERE hwp.topic_id = hwt.topic_id) as topic
| | | FROM health.publish_document hwp
| | | WHERE hwp.publish_document_id IN (13729, 1033, 11695)
| | | </xsql:query>
| | |
| | |
| | | I'm using this in combination with a XSLT and get this output -
| Beautiful!
| | -
| | | just what I want, less my LONG body field :
| | |
| | | <?xml version="1.0" encoding="UTF-8"?>
| | | <CONTENT>
| | |
| | |
| |
| <URL>http://healthecare140:7601/medical/medicalDocument.jsp?page=medical&
| | | ;topic=10744&item=7</URL>
| | | <TITLE>Graft versus Host Disease</TITLE>
| | | <RANK1>
| | | <RANK1_DSCR>GVHD</RANK1_DSCR>
| | | </RANK1>
| | | <RANK2/>
| | | <RANK3>
| | | <RANK3_DSCR>Rare Disorders</RANK3_DSCR>
| | | </RANK3>
| | |
| | |
| |
| <URL>http://healthecare140:7601/medical/medicalDocument.jsp?page=medical&
| | | ;topic=910&item=4</URL>
| | | <TITLE>Hypnosis</TITLE>
| | | <RANK1/>
| | | <RANK2>
| | | <RANK2_DSCR>Hypnotherapy</RANK2_DSCR>
| | | </RANK2>
| | | <RANK3/>
| | |
| | |
| |
| <URL>http://healthecare140:7601/medical/medicalDocument.jsp?page=medical&
| | | ;topic=12344&item=9</URL>
| | | <TITLE>Low Back Problems -- Computerized axial tomography (CAT scan,
| | | CT scan)</TITLE>
| | | <RANK1>
| | | <RANK1_DSCR>CT scan (computerized tomography),
| | | back</RANK1_DSCR>
| | | <RANK1_DSCR>CT scan, back</RANK1_DSCR>
| | | <RANK1_DSCR>Back, CT scan of</RANK1_DSCR>
| | | <RANK1_DSCR>Computed axial tomography (CAT) scan,
| | | back</RANK1_DSCR>
| | | </RANK1>
| | | <RANK2/>
| | | <RANK3/>
| | | </CONTENT>
| | |
| | |
| | | BUT, as soon as I add the LONG body field into the query (in BOLD):
| | |
| | | <?xml version="1.0"?>
| | | <!-- healthwise_xslt.xsql -->
| | | <xsql:query
| | | xmlns:xsql="urn:oracle-xsql"
| | | connection="healthwise_dev2"
| | | max-rows="22050" >
| | |
| | | SELECT hwp.publish_document_id, hwp.topic_id, hwp.section_id,
| hwp.body,
| | | <--------- hwp.body is the LONG
| | | CURSOR( SELECT hws.name as section_name
| | | FROM health.section hws
| | | WHERE hwp.section_id = hws.section_id) as section,
| | | CURSOR( SELECT hwk.name as keyword_name
| | | FROM health.keyword hwk, health.map_keyword_object
| | | hwmko, health.object hwo
| | | WHERE (hwp.publish_document_id =
| | | hwo.publish_document_id) and
| | | (hwo.object_id = hwmko.object_id) and
| | | (hwmko.keyword_id = hwk.keyword_id) ) as keywords,
| | | CURSOR( SELECT hwt.name as topic_name,
| | | CURSOR( SELECT hwts.name as topic_synonym_name
| | | FROM health.topic_synonym hwts
| | | WHERE hwt.topic_id = hwts.topic_id) as
| | | topic_synonyms,
| | | CURSOR( SELECT hwc.name as catagory_name
| | | FROM health.category hwc,
| | health.map_category_topic
| | | hwmct
| | | WHERE (hwt.topic_id = hwmct.topic_id) and
| | | (hwmct.category_id = hwc.category_id) ) as catagories
| | | FROM health.topic hwt
| | | WHERE hwp.topic_id = hwt.topic_id) as topic, hwp.body
| | | <---------------- I tried it here too
| | | FROM health.publish_document hwp
| | | WHERE hwp.pu blish_document_id IN (13729, 1033, 11695)
| | | </xsql:query>
| | |
| | |
| | | I get this error:
| | | oracle.xml.sql.OracleXMLSQLException: Stream has already been closed
| | |
| | |
| | | However, this works:
| | |
| | | <?xml version="1.0"?>
| | | <!-- healthwise_xslt.xsql -->
| | | <xsql:query
| | | xmlns:xsql="urn:oracle-xsql"
| | | connection="healthwise_dev2"
| | | max-rows="22050" >
| | |
| | | SELECT hwp.publish_document_id, hwp.topic_id, hwp.section_id, hwp.body
| | | <--------- hwp.body is the LONG
| | | FROM health.publish_document hwp
| | | WHERE hwp.publish_document_id IN (13729, 1033, 11695)
| | | </xsql:query>
| | |
| | |
| | | Do I have to pull this out into code and stream the long into a string
| and
| | | build a DOM and then go to XML from that? Or something along those
| lines?
| | | And if this is the case, can you point me to some sample code.
| | | I don't have the option of changing the LONG to something that doesn't
| | have
| | | to be streamed as suggested in this
| | |
| |
| doc(http://technet.oracle.com/doc/oracle8i_816/java.816/a81354/basic4.htm).
| | |
| | |
| | | If we can come to a conclusion on this, I will be the xsql-long
| evangelist
| | | on the board!
| | |
| | | Thank-you for you time,
| | | chad. <[email protected]>
| | |
| | |
| |
|
nullJust wanted to post Steve's response to this question, in case others have problems with LONG data types and CURSORS in their .xsql queries (thanks Steve!):
I can reproduce the problem with your testcase.
I've filed Bug Number 1472008.
You can workaround the problem by using CLOB
instead of LONG in your table.
You can use to TO_LOB() function in a CREATE TABLE...AS SELECT...
or in an INSERT INTO TABLE...SELECT... to easily
convert existing LONG content into CLOBs.
null -
Hello, there, I am trying to display some HTML in a JTextArea with HTMLEditorKit, and I have come across a problem. I am using my own stylesheet, and there are several styles that seem to be completely ignored when whatever is displaying the HTML gets to them. The ones I have noticed so far are the ones for displaying blockquotes and the one for displaying thumbnail images.
Code Follows:
Part where I initialize the stylesheet
//Initialize the Frame
JFrame frame = new JFrame("Meme");
JPanel panel;
JPanel innerPanel;
JPanel outerPanel;
JLabel label;
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Container content = frame.getContentPane();
//Set up the main editor pane and define the css rules needed to display the pages
final JEditorPane editorPane = new JEditorPane();
editorPane.setEditable(false);
HTMLEditorKit editorKit = new HTMLEditorKit();
StyleSheet sheet = new StyleSheet();
sheet.addRule("html, body { background:#FFFFEE; color:#800000; margin: 0; padding: 8px; margin-bottom: auto;}");
sheet.addRule("a {color:#0000EE;}");
sheet.addRule(".filetitle {background:inherit; font-size:1.2em; color:#CC1105; font-weight:800;}");
sheet.addRule(".heading{ text-align: center; font-size: 2em}");
sheet.addRule(".postername {color:#117743; font-weight:bold;}");
//Doesn't work, not sure why...
sheet.addRule(".thumb { border: none; float: left; margin: 2px 20px }");
sheet.addRule("blockquote { margin-left: 0em }");
/*//Doesn't work, not supported by HTMLEditorKit:
sheet.addRule("a:hover {color:#DD0000;}");*/
sheet.addRule(".postblock {background:#EEAA88; color:#800000; font-weight:800;}");
sheet.addRule(".postertrip {color:#228854;}");
sheet.addRule(".reply {background:#F0E0D6; color:#800000;}");
sheet.addRule(".replytitle {font-size: 1.2em; color:#CC1105; font-weight:800;}");
sheet.addRule(".commentpostername {color:#117743; font-weight:800;}");
sheet.addRule(".highlight {background:#F0E0D6; color:#800000; border: 2px dashed #EEAA88;}");
sheet.addRule(".reply blockquote, blockquote :last-child { margin-bottom: 0em }");
sheet.addRule(".postarea { text-align: center }");
sheet.addRule(".postarea table { margin: 0px auto; text-align: left }");
editorKit.setStyleSheet(sheet);
editorPane.setEditorKit(editorKit);
JScrollPane scrollPane = new JScrollPane(editorPane);
content.add(scrollPane, BorderLayout.CENTER);
Part where I use the stylesheet:
//Prepare the query
IndexSearcher Searcher = new IndexSearcher(rootDir + "Index/");
QueryParser parser = new QueryParser("Text", new StandardAnalyzer());
TopDocs results = Searcher.search(parser.parse(SearchParameters.getText()), null, 10);
int threadsPerPage = Integer.parseInt(ThreadsPerPage.getText());
String Page = "<html><head><title>Meme Search Results Page</title></head><body><p class=\"heading\">Search Results:</p>";
//Read all the result threads into memory
for (int i = 0; (i < results.scoreDocs.length) && (i < threadsPerPage); i++) {
String Thread = RebuildThread(Searcher.doc(results.scoreDocs.doc).getFields("Path")[0].stringValue(), true);
Page += Thread.substring(0 , Thread.indexOf(" ") + 5) + "<a href=" + i + ".html>[View]</a>" + Thread.substring(Thread.indexOf("<blockquote>")) + "<br clear=\"left\"><hr>";
Page += "</body></html>";
//Read the results into an HTML document and put them on the pane
HTMLDocument doc = (HTMLDocument)editorPane.getEditorKit().createDefaultDocument();
doc.setBase(new File(rootDir).toURL());
Main.PrintLineToMainOutput(doc.getBase().toString());
ParserDelegator HTMLParser = new ParserDelegator();
HTMLParser.parse(new StringReader(Page), doc.getReader(0), true);
editorPane.setDocument(doc);
//Output some data about whether there were results or not
if (results.scoreDocs.length == 0) {
Main.PrintLineToMainOutput("No Results");
} else {
Main.PrintLineToMainOutput("Results Written to Frame");
So yeah, any help you guys could give would be great.Hi.
Have you tried to use the standard CSS and search in the source of the page for the key figure heading that you want? If you find it than will find the its standard class.
Take a look at the how-to guides for Web Printing with Excel. They have some very useful tips. U can download them from SDN.
Pedro -
XSLT European Language Support in XMLData class (part of Oracle XML kit)
My code in JSP (with JDev) looks like this:
<jsp:useBean id="XSLTProcesseur" class="oracle.jbo.html.databeans.XmlData" scope="request">
<%
String sImageBase = (String)session.getValue("ImageBase");
XSLTProcesseur.initialize(application, session , request, response, out, "bilanmetastatique_BilanModule.MasterBilanMetView");
XSLTProcesseur.setReleaseApplicationResources(true);
XSLTProcesseur.setStylesheet(sImageBase + "/BilanMeMasterJSP.xsl");
XSLTProcesseur.render();
%>
</jsp:useBean>
In the xsl file, BilanMeMasterJSP.xsl, I use French characters and got error messages (exceptions) out of XMLData class.
Running the same stylesheet with Stylus Editor from Object Design work fine! (IBM XSL Editor works too)
Any help appreciated, thanks.
nullDoes your stylesheet use:
<xsl:output encoding="xxx"/>
to specify a proper encoding for the
characters you're trying to use? -
I have no bullets with HTMLEditorKit
I am using JEditorPane, StyleSheet and HTMLEditorKit for simple HTML viewer with css support.
It works fine, but my list does not have bullets !!!! Here is my code:
style = new StyleSheet();
style.addRule("H1{ color: red;font-family: arial, helvetica, sans-serif;font-size: 12 pt;font-weight: bold;text-align: center;}");
style.addRule("H2{color: blue;ont-family: arial, helvetica, sans-serif;font-size: 16 pt;font-weight: bolds;text-align: center;}");
style.addRule("body{line-height : 22px;}");
style.addRule("li {list-style-type: disc;font-size: 12 pt;font-weight: bold;}");
style.addRule("P{font-size: 12 pt;font-weight: normal;margin: 0.5 em;margin-left: 1 em;}");
objHTMLKit = new HTMLEditorKit();
objHTMLKit.setStyleSheet(style);
jep.setEditorKit(objHTMLKit);
jep.setText(strSource);
scroll = new JScrollPane(jep);
when i just set the HTML source right to the JEditorPane, without HTMLEditorKit and CSS it is fine.
Do i have to work on the HTMLEditorKit or it has to do it by default ?????
Everything else is ok and the <li> element is getting bigger or smaller but without bullets.
thanks for any help :)This phone uses a Sim Card but as I found it's a 3G only phone but if the Sim handles all the phones information Like on a 4G phone the Sim might need to be replaced) If the card is used for something totally different simply *228 send 1 phone refresh is all that is needed) but it's best to call customer Service and ask as they can walk you through the steps and it may be you just need to update your PRL preferred roaming list..
Here is Customer Service's Number: they open in just a few Hours.. 1-800-922-0204 use Option 3 when ask what you like to do Say you would like to talk to a Representative.. If this is your only phone available to talk on then I recommend a stop by a Local Verizon Comm store for further assistance..
Good Luck Welcome to the Forum.. b33 -
Mail Crashes Immediately Upon Startup
Today my Mail app. (2.0.7) started crashing immediately after startup. I tried disc repair and permissions repair. Both showed no problems and neither did anything to help. In hopes that my Mail app. had become corrupted, I tried an older version (2.0.5) that I had in a backup folder. Unfortunately, I got the same result. Below is the info from MY crash report for the 2.0.7 version's crash.
I realize that this is very similar to a previous post, but feel that the point of the crash may be different enough to warrant a new one.
Version: 2.0.7 (746.2)
Build Version: 2
Project Name: MailViewer
Source Version: 7460200
PID: 1134
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00018039
Thread 0 Crashed:
0 com.apple.WebCore 0x954fe638 khtml::RenderStyle::RenderStyle[unified]() + 36
1 com.apple.WebCore 0x9550f6a8 khtml::CSSStyleSelector::styleForElement(DOM::ElementImpl*, khtml::RenderStyle*, bool) + 284
2 com.apple.WebCore 0x95542a90 DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 116
3 com.apple.WebCore 0x95542c7c DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 608
4 com.apple.WebCore 0x95542c7c DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 608
5 com.apple.WebCore 0x95542c7c DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 608
6 com.apple.WebCore 0x95542c7c DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 608
7 com.apple.WebCore 0x95542c7c DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 608
8 com.apple.WebCore 0x95542c7c DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 608
9 com.apple.WebCore 0x95542c7c DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 608
10 com.apple.WebCore 0x95542c7c DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 608
11 com.apple.WebCore 0x954fe544 DOM::DocumentImpl::recalcStyle(DOM::NodeImpl::StyleChange) + 2492
12 com.apple.WebCore 0x955392e0 DOM::DocumentImpl::updateStyleSelector() + 72
13 com.apple.WebCore 0x95773fd0 khtml::PartStyleSheetLoader::setStyleSheet(DOM::DOMString const&, DOM::DOMString const&) + 80
14 com.apple.WebCore 0x9554066c khtml::CachedCSSStyleSheet::checkNotify() + 352
15 com.apple.WebCore 0x9554028c khtml::CachedCSSStyleSheet::data(QBuffer&, bool) + 336
16 com.apple.WebCore 0x9553ffc4 khtml::Loader::slotFinished(KIO::Job*, NSData*) + 428
17 com.apple.WebCore 0x956b8694 KWQSignal::callWithData(KIO::Job*, NSData*) const + 136
18 com.apple.WebCore 0x9553fdb8 -[KWQResourceLoader finishJobAndHandle:] + 80
19 com.apple.WebKit 0x952e0908 -[WebSubresourceClient didFinishLoading] + 72
20 com.apple.WebKit 0x952dfb90 -[WebBaseResourceHandleDelegate connectionDidFinishLoading:] + 48
21 com.apple.Foundation 0x929a884c -[NSURLConnection(NSURLConnectionInternal) _sendDidFinishLoadingCallback] + 188
22 com.apple.Foundation 0x929a6ab8 -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] + 556
23 com.apple.Foundation 0x929a6810 _sendCallbacks + 156
24 com.apple.CoreFoundation 0x907e4a68 __CFRunLoopDoSources0 + 384
25 com.apple.CoreFoundation 0x907e3f98 __CFRunLoopRun + 452
26 com.apple.CoreFoundation 0x907e3a18 CFRunLoopRunSpecific + 268
27 com.apple.HIToolbox 0x9321d980 RunCurrentEventLoopInMode + 264
28 com.apple.HIToolbox 0x9321cf8c ReceiveNextEventCommon + 244
29 com.apple.HIToolbox 0x9321ce80 BlockUntilNextEventMatchingListInMode + 96
30 com.apple.AppKit 0x936ff104 _DPSNextEvent + 384
31 com.apple.AppKit 0x936fedc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
32 com.apple.AppKit 0x936fb30c -[NSApplication run] + 472
33 com.apple.AppKit 0x937ebe68 NSApplicationMain + 452
34 com.apple.mail 0x00002424 0x1000 + 5156
35 com.apple.mail 0x000a4940 0x1000 + 670016
Thread 1:
0 libSystem.B.dylib 0x90054fc8 semaphoretimedwait_signaltrap + 8
1 libSystem.B.dylib 0x90054e24 pthreadcondtimedwait + 676
2 com.apple.Foundation 0x929f55a0 FCONDITION_WAITTIMEOUT + 144
3 com.apple.Foundation 0x929f54bc -[NSConditionLock lockWhenCondition:beforeDate:] + 128
4 com.apple.MessageFramework 0x98a1f818 -[InvocationQueue _drainQueue] + 176
5 com.apple.Foundation 0x92976194 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 2:
0 libSystem.B.dylib 0x90054fc8 semaphoretimedwait_signaltrap + 8
1 libSystem.B.dylib 0x90054e24 pthreadcondtimedwait + 676
2 com.apple.Foundation 0x929f55a0 FCONDITION_WAITTIMEOUT + 144
3 com.apple.Foundation 0x929f54bc -[NSConditionLock lockWhenCondition:beforeDate:] + 128
4 com.apple.MessageFramework 0x98a1f818 -[InvocationQueue _drainQueue] + 176
5 com.apple.Foundation 0x92976194 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 3:
0 libSystem.B.dylib 0x90054fc8 semaphoretimedwait_signaltrap + 8
1 libSystem.B.dylib 0x90054e24 pthreadcondtimedwait + 676
2 com.apple.Foundation 0x929f55a0 FCONDITION_WAITTIMEOUT + 144
3 com.apple.Foundation 0x929f54bc -[NSConditionLock lockWhenCondition:beforeDate:] + 128
4 com.apple.MessageFramework 0x98a1f818 -[InvocationQueue _drainQueue] + 176
5 com.apple.Foundation 0x92976194 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 4:
0 libSystem.B.dylib 0x90054fc8 semaphoretimedwait_signaltrap + 8
1 libSystem.B.dylib 0x90071648 pthreadcond_timedwait_relativenp + 556
2 ...apple.AddressBook.framework 0x9496e82c -[ABRemoteImageLoader workLoop] + 132
3 com.apple.Foundation 0x92976194 forkThreadForFunction + 108
4 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 5:
0 libSystem.B.dylib 0x9000b0a8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000affc mach_msg + 60
2 com.apple.CoreFoundation 0x907e4114 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907e3a18 CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x9299d69c +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 264
5 com.apple.Foundation 0x92976194 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 6:
0 libSystem.B.dylib 0x9000b0a8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000affc mach_msg + 60
2 com.apple.CoreFoundation 0x907e4114 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907e3a18 CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x9299e7dc +[NSURLCache _diskCacheSyncLoop:] + 152
5 com.apple.Foundation 0x92976194 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 7:
0 libSystem.B.dylib 0x9000b0a8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000affc mach_msg + 60
2 com.apple.CoreFoundation 0x907e4114 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907e3a18 CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x92985164 -[NSRunLoop runMode:beforeDate:] + 172
5 com.apple.Foundation 0x9298509c -[NSRunLoop run] + 76
6 com.apple.WebKit 0x952ca3f0 +[WebFileDatabase _syncLoop:] + 176
7 com.apple.Foundation 0x92976194 forkThreadForFunction + 108
8 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 8:
0 libSystem.B.dylib 0x9000b0a8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000affc mach_msg + 60
2 com.apple.CoreFoundation 0x907e4114 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907e3a18 CFRunLoopRunSpecific + 268
4 com.apple.MessageFramework 0x98a249b0 -[MainThread performOneway:result:withTarget:selector:] + 716
5 libobjc.A.dylib 0x90a4b1f4 objc_msgSendv + 180
6 com.apple.Foundation 0x92971c88 -[NSInvocation invoke] + 944
7 com.apple.MessageFramework 0x98a1624c +[WorkerThread _execute:] + 76
8 com.apple.Foundation 0x92976194 forkThreadForFunction + 108
9 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 9:
0 libSystem.B.dylib 0x9000b0a8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000affc mach_msg + 60
2 com.apple.CoreFoundation 0x907e4114 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907e3a18 CFRunLoopRunSpecific + 268
4 com.apple.MessageFramework 0x98a2558c _handleRequestWithTimeout + 2492
5 com.apple.MessageFramework 0x98a27a20 -[_NSSocket readBytes:length:] + 192
6 com.apple.MessageFramework 0x98a278d4 _readBytesFromSocket + 72
7 com.apple.MessageFramework 0x98a27754 _fillBuffer + 524
8 com.apple.MessageFramework 0x98a27400 -[Connection readLineIntoData:] + 64
9 com.apple.MessageFramework 0x98a27270 -[IMAPConnection(MFPrivate) _readDataOfLength:] + 116
10 com.apple.MessageFramework 0x98a270e8 -[IMAPResponse initWithConnection:] + 140
11 com.apple.MessageFramework 0x98a27000 -[IMAPConnection _copyNextServerResponseForCommand:] + 60
12 com.apple.MessageFramework 0x98a2e668 -[IMAPConnection _copyNextTaggedOrContinuationResponseForCommand:] + 224
13 com.apple.MessageFramework 0x98a2d728 -[IMAPConnection(MFPrivate) _responseFromSendingCommands:count:] + 192
14 com.apple.MessageFramework 0x98a3622c _unlockIfSyncedWithLibrary + 1552
15 com.apple.MessageFramework 0x98a31680 -[IMAPMailboxSyncEngine(Internal) _go] + 444
16 com.apple.MessageFramework 0x98a21364 -[LibraryIMAPStore openSynchronouslyUpdatingMetadata:] + 268
17 com.apple.MessageFramework 0x98b03df8 -[LibraryIMAPStore _fetchForCheckingNewMail:] + 44
18 com.apple.MessageFramework 0x98a4994c -[IMAPAccount fetchSynchronously] + 116
19 libobjc.A.dylib 0x90a4b1f4 objc_msgSendv + 180
20 com.apple.Foundation 0x92971c88 -[NSInvocation invoke] + 944
21 com.apple.MessageFramework 0x98a163d0 -[MonitoredInvocation invoke] + 144
22 com.apple.MessageFramework 0x98a1f908 -[InvocationQueue _drainQueue] + 416
23 com.apple.Foundation 0x92976194 forkThreadForFunction + 108
24 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 10:
0 libSystem.B.dylib 0x9000b0a8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000affc mach_msg + 60
2 com.apple.CoreFoundation 0x907e4114 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907e3a18 CFRunLoopRunSpecific + 268
4 com.apple.MessageFramework 0x98a249b0 -[MainThread performOneway:result:withTarget:selector:] + 716
5 com.apple.MessageFramework 0x98a0dc08 -[MailAccount(Internal) _loadMailboxListingIntoCache:attributes:parent:] + 1188
6 com.apple.MessageFramework 0x98a4a284 -[MailAccount(Internal) _loadEntriesFromFileSystemPath:parent:] + 752
7 com.apple.MessageFramework 0x98acc9d0 -[MailAccount(Internal) _synchronizeMailboxListWithFileSystemBeforeImport:] + 284
8 libobjc.A.dylib 0x90a4b1f4 objc_msgSendv + 180
9 com.apple.Foundation 0x92971c88 -[NSInvocation invoke] + 944
10 com.apple.MessageFramework 0x98a163d0 -[MonitoredInvocation invoke] + 144
11 com.apple.MessageFramework 0x98a1f908 -[InvocationQueue _drainQueue] + 416
12 com.apple.Foundation 0x92976194 forkThreadForFunction + 108
13 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 11:
0 libSystem.B.dylib 0x9000b0a8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000affc mach_msg + 60
2 com.apple.CoreFoundation 0x907e4114 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907e3a18 CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x92985164 -[NSRunLoop runMode:beforeDate:] + 172
5 com.apple.Foundation 0x9298509c -[NSRunLoop run] + 76
6 com.apple.MessageFramework 0x98a23bfc +[_NSSocket _runIOThread] + 92
7 com.apple.Foundation 0x92976194 forkThreadForFunction + 108
8 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 12:
0 libSystem.B.dylib 0x9002c128 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x90030bec pthreadcondwait + 480
2 com.apple.MessageFramework 0x98a0788c _MFAcquireObjectLock + 356
3 com.apple.MessageFramework 0x98a2324c _lockWithPriority + 60
4 com.apple.MessageFramework 0x98a22e44 -[IMAPConnection connectionState] + 56
5 com.apple.MessageFramework 0x98a22900 -[IMAPAccount connectAndAuthenticate:] + 96
6 com.apple.MessageFramework 0x98a21f7c _getPotentialConnectionForMailbox + 748
7 com.apple.MessageFramework 0x98a2181c -[IMAPAccount connectionForStore:delegate:options:] + 272
8 com.apple.MessageFramework 0x98a21660 -[LibraryIMAPStore connection] + 72
9 com.apple.Foundation 0x9297d5e8 -[NSArray makeObjectsPerformSelector:withObject:] + 264
10 com.apple.MessageFramework 0x98a4a490 -[IMAPAccount _synchronizeAccountWithServer] + 436
11 libobjc.A.dylib 0x90a4b1f4 objc_msgSendv + 180
12 com.apple.Foundation 0x92971c88 -[NSInvocation invoke] + 944
13 com.apple.MessageFramework 0x98a163d0 -[MonitoredInvocation invoke] + 144
14 com.apple.MessageFramework 0x98a1f908 -[InvocationQueue _drainQueue] + 416
15 com.apple.Foundation 0x92976194 forkThreadForFunction + 108
16 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 13:
0 libSystem.B.dylib 0x9001f5ec select + 12
1 com.apple.CoreFoundation 0x907f69a8 __CFSocketManager + 472
2 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 14:
0 libSystem.B.dylib 0x900325cc wait4 + 12
1 com.apple.Foundation 0x92964448 _waitForTermination + 40
2 libSystem.B.dylib 0x9002ba68 pthreadbody + 96
Thread 0 crashed with PPC Thread State 64:
srr0: 0x00000000954fe638 srr1: 0x000000000200f030 vrsave: 0x0000000000000000
cr: 0x44042224 xer: 0x0000000000000004 lr: 0x00000000954fe620 ctr: 0x000000009577cf30
r0: 0x0000000000000000 r1: 0x00000000bfffe020 r2: 0x00000000049d089c r3: 0x0000000000018001
r4: 0x000000000000003c r5: 0x0000000000000000 r6: 0x0000000000000001 r7: 0x0000000000000000
r8: 0x00000000049d0ac0 r9: 0x000000000540f440 r10: 0x00000000955006a4 r11: 0x00000000049d0860
r12: 0x000000009577cf30 r13: 0x0000000000000000 r14: 0x0000000000000001 r15: 0x0000000000000000
r16: 0x0000000000000001 r17: 0x00000000bffff350 r18: 0x0000000000000000 r19: 0x00000000bfffe4c0
r20: 0x0000000000000004 r21: 0x0000000000000000 r22: 0x00000000bfffe4a0 r23: 0x0000000000000000
r24: 0x00000000053f6bac r25: 0x00000000bfffe55c r26: 0x00000000a54de620 r27: 0x000000000540f440
r28: 0x0000000000018001 r29: 0x0000000000018001 r30: 0x00000000053f6810 r31: 0x00000000954fe620
iBook G4 1GHz - 768 MB RAM Mac OS X (10.4.6)
Mac OS X (10.4.6)vrdaver, your problem is not the same as Mekisto's. In your case, Mail is crashing while trying to render a message with HTML content. Try this:
1. Launch Mail while holding the Shift key down. This should prevent Mail from trying to select any mailboxes or load any messages upon starting up.
2. Go to Mail > Preferences > Viewing and disable "Display remote images in HTML messages" if it's enabled -- having this setting enabled is a really bad idea for spam-related reasons anyway.
You should now be able to select the offending message and delete it. If not, repeat with this additional step:
3. Drag the separator bar between the messages list pane and the message preview pane to the bottom of the window (or just double click within the separator bar), so that the preview pane disappears and only the messages list is visible. -
Default_css in htmleditorkit
Hy all,
I'm developping an html editor and when I load a css file:
styles.importStyleSheet(new URL("file:/..mycssfile.css"));
htmlKit.setStyleSheet(styles);
the loading is ok but after that, i lose the default css file.
I guess the solution is note to define everything in my "mycssfile.css".
Maybe I can find the default css file, but I don't know where.
Any help will be very apreciated
Thanks in advance
Anyway, my problem is i can use the default CSS, and i
can use mycssfile as well.
But, i want add mycssfile to the default CSS.
How can i do it ?StyleSheet orig = htmlKit.getStyleSheet();
orig.importStyleSheet(new URL("..."));
//htmlKit.setStyleSheet(orig);
i seem to remember that the new stylesheet doesn't override styles that have already been set though, so it might not be so useful :(
if you have the option to define everything in your own css and use that directly then thats probably the way to go
also note the warning the API "Note: This implementation is currently incomplete. It can be replaced with alternative implementations that are complete. Future versions of this class will provide better CSS support. "
this has been there since early 1.3 versions, am not sure when they are planning to do more work on this..
good luck :)
asjf
Maybe you are looking for
-
Original music files no longer play in iTunes
So I recorded a demo for my band and after several months of trouble-free playing on iTunes it has all of sudden decided that I am nt authorized to play these files anymore and I can't get them to open outside of iTunes anymore. HELP!!
-
Error in executing the program,what can be the error
Error in executing the program. What can be the error ,if the error shown is PROGRAM ABC DOE! after entering the values in selection screen?
-
With new Mac OS 10.9 cannot print photos the same colors as my screen in PS6 what can I do
PS^ how to get PS^ to print photos the same colors as the screen on my mac.
-
Installation of oracle 10g rac on open solaris for X86 Machine
Hi Can you please let me know the advantages of installation of oracle 10g rac on open solaris on x86 machine.And also let me know the detail steps involved in instatllation of oracle 10g rac on open solaris on x86. please suggest the recommdendation
-
Max application memory Limit in iPad 4th?
Is there material to talk about it? what is max memory limit for application running on iPad 4th?