NewTransformer - Could not compile stylesheet exception

Using the following code:
Transformer transformer = factory.newTransformer( new StreamSource(xsltFile) );
If I fill the xsltFile string variable with "contents.xslt" it goes through fine.
But, if I put the following into the xsltFile variable, it throws the following exception:
"C:\\test\\src\\xslt\\contents.xslt"
Failed to transform file C:\DB Documenter\output\xml\main.xml due to: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
I am formatting the the source and result strings in the actual transform the same way, and they work fine pointing to a c:\ directory. Any reason this blows up on the newTransformer call?
Here is the whole code:
public void performTransform(String xsltFile, String xmlFile, String htmlFile) {       
try {           
TransformerFactory factory = TransformerFactory.newInstance();
/* xsltFile = "contents.xslt"; */
xsltFile = "C:\\DB Documenter\\src\\xslt\\contents.xslt";
Transformer transformer = factory.newTransformer( new StreamSource(xsltFile) );
StreamSource xmlSource = new StreamSource(xmlFile);
StreamResult htmlResult = new StreamResult(htmlFile);
transformer.transform(xmlSource, htmlResult);
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "Failed to transform file " + xmlFile + " due to: " + e);
}

StreamSource/Results are simple POJOs: the interpretation of the the system ID you construct them from is left to the interpretation of the object that will use them. This is why the behavior is not consistent.
For this reason, I never use StreamSource/Result(String) constructors but prefer either the constructor that takes a File or a Reader.

Similar Messages

  • Exception : Could not compile stylesheet

    Dear All,
    I'm using SimpleTransform.java (renamed as ReceiptTransformer.java for custom use) found in xalan-j_2_7_0 samples directory for transformations in my custom application. The program compiles successfully but gives the following error during runtime:
    ERROR: 'org/apache/avalon/framework/configuration/Configuration'
    FATAL ERROR: 'Could not compile stylesheet'
    Exception in thread "main" javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
    at ReceiptTransformer.main(ReceiptTransformer.java:29)
    Any help in this regard is greatly appreciated.

    StreamSource/Results are simple POJOs: the interpretation of the the system ID you construct them from is left to the interpretation of the object that will use them. This is why the behavior is not consistent.
    For this reason, I never use StreamSource/Result(String) constructors but prefer either the constructor that takes a File or a Reader.

  • XSLT Exception: FATAL ERROR:  'Could not compile stylesheet'

    Hi....
    Am getting Folowing Exception while parsing the XSL file. Am using java 1.4 and MSXML4.2 SP2 parser andSDK.
    but when I installed SQLServer2005, with that MSXML 6.0 Parser is Installed.
    It is working fine before instalation of SQLServer2005.
    java.lang.NullPointerException
         at com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall.translate(FunctionCall.java:826)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.ValueOf.translate(ValueOf.java:114)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:490)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.XslAttribute.translate(XslAttribute.java:252)
    Compiler warnings:
    file:///F:/Data/JRun4/servers/ABC/MainXSL.xsl: line 155: Attribute 'LenderBranchIdentifier' outside of element.
    file:///F:/Data/JRun4/servers/ABC/MainXSL.xsl: line 156: Attribute 'LenderRegistrationIdentifier' outside of element.
    ERROR: 'null'
    FATAL ERROR: 'Could not compile stylesheet'
    javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:753)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:548)
         at com.ls.lsglobal.common.CLOUTSQLXML.TransXml2Xml(CLOUTSQLXML.java:274)
    And My XSL is
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="2.5" xmlns:lsjava1="com.ls.lsglobal.common" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="lsjava1" >
         <xsl:output method="xml" indent="yes" encoding="utf-8" doctype-system="MyRequest.1.3.DTD"/>
         <xsl:template match="/" >
              <REQUEST_GROUP>
                                       <TRANSMITTAL_DATA>
                                            <xsl:if test="AppraisedVal!=''">
                                                 <xsl:attribute name="AppraisedValueAmount"><xsl:value-of select="AppraisedVal"/></xsl:attribute>
                                            </xsl:if>
                                            <xsl:if test="StatedVal!=''">
                                                 <xsl:attribute name="EstimatedValueAmount"><xsl:value-of select="StatedVal"/></xsl:attribute>
                                            </xsl:if>
                                            <xsl:for-each select="ROOT/AppMain/MyLoop/Liab">
                                                 <xsl:if test=" normalize-space(LiabTypCd) = 'SMG' and (normalize-space(PresFutTypCd) = 'BOTH' or normalize-space(PresFutTypCd) = 'PRES') and PresLienPos='1' and normalize-space(RefCd) != 'LOAN'">
                                                      <xsl:attribute name="CurrentFirstMortgageHolderType"><xsl:value-of select="LiabId"/></xsl:attribute>
                                                 </xsl:if>
                                            </xsl:for-each>
                                            <xsl:attribute name="LenderBranchIdentifier">0001</xsl:attribute>
                                            <xsl:attribute name="LenderRegistrationIdentifier"><xsl:value-of select="ROOT/AppMain/MyNum"/></xsl:attribute>
                                       </TRANSMITTAL_DATA>
              </REQUEST_GROUP>
         </xsl:template>
    </xsl:stylesheet>
    And My Java Code is
    public String TransXml2Xml(String xmlInFile, String xslFile, String xmlOutFile) throws Exception
              try
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   factory.setIgnoringElementContentWhitespace(true);
                   Document document;
                   File stylesheet = new File(xslFile);
                   File dataInfile = new File(xmlInFile);
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   document = builder.parse(dataInfile);
                   System.err.println("-->AVC:::xslFile="+xslFile+" xmlInFile="+xmlInFile+" xmlOutFile="+xmlOutFile);
                   StreamSource stylesource = new StreamSource(stylesheet);
                   TransformerFactory t=TransformerFactory.newInstance();
                   Transformer transformer = t.newTransformer(stylesource);
                   DOMSource source = new DOMSource(document);
                   javax.xml.transform.stream.StreamResult result = new javax.xml.transform.stream.StreamResult(new File(xmlOutFile));
                   transformer.setOutputProperty(javax.xml.transform.OutputKeys.INDENT , "yes");
                   transformer.setOutputProperty(javax.xml.transform.OutputKeys.ENCODING, "UTF-8");
                   transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
                   if(strCLUTDTD_PATH.equals(""))
                        java.util.Properties props = new java.util.Properties();
                        java.io.FileInputStream fis = new java.io.FileInputStream("DataFileBasePath.properties");
                        props.load(fis);
                        fis.close();
                        strCLUTDTD_PATH = checkNull(props.get("CLUTREQDTD_PATH"));
                   transformer.setOutputProperty(javax.xml.transform.OutputKeys.DOCTYPE_SYSTEM , strCLUTDTD_PATH);
                   transformer.transform(source, result);
              catch(Exception e)
                   e.printStackTrace();
                   throw e;
              return "";
    can any one know what solution for this problem. It is very help full for me.

    So look at your code and find out what you are passing to the TransformerFactory. Then find out why it's null. Don't just sit there and say "Duh", it's your code.
    And remember that nobody but you can see it yet. If you like you could post it here and then others could see it and comment on it.

  • Error while transforming XSLT,"Could not compile stylesheet"

    Hi,
    During transformation of my XSLT I needs to fetch data from method named *"myMethod(String str)"*, which is in *"mypackage.test.MyClass"* class. MyClass is in{color:#000000} XXX.jar. {color}
    This XXX.jar is not in context of my web application.*
    Following is part of XSLT which I am using.
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:aaa="mypackage.test.MyClass">
    <xsl:template match="/responseData">
    <xsl:for-each select="response">
    <XMLResponse>
    <xsl:for-each select="status">
    <xsl:variable name="Vvar_ResResponseType" select="."/>
    <xsl:attribute name="ResResponseType">
    <xsl:value-of select="aaa:myMethod($Vvar_ResResponseType)"/>
    </xsl:attribute>
    </xsl:for-each>
    </XMLResponse>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>So I tried to use reflection API to load XXX.jar file at runtime.
    But while transforming Transformer does not find "myMethod(String str)" and gives error like "Could not compile stylesheet"
    Following is full exception stacktrace
    ERROR:  'The first argument to the non-static Java function 'myMethod' is not a valid object reference.'
    FATAL ERROR:  'Could not compile stylesheet'
    javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:829)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:623)
    at com.actl.dxchange.utilities.Transformation.transform(Transformation.java:83)
    at com.actl.dxchange.base.BaseConnector.transform(BaseConnector.java:330)
    at com.actl.dxchange.connectors.KuoniConnector.doRequestProcess(KuoniConnector.java:388)
    at com.actl.dxchange.connectors.KuoniConnector.hotelAvail(KuoniConnector.java:241)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    ...........Please suggest is there any other way, so that Transformer can find required bean class from XXX.jar duruing transformation process.
    Thanks & Regards,
    Rohit Lad
    Edited by: Rohit_Lad on Jan 29, 2009 7:38 PM
    Edited by: Rohit_Lad on Jan 30, 2009 9:57 AM
    Edited by: Rohit_Lad on Jan 30, 2009 10:02 AM

    Got the solution from forum named
    "Reflections & Reference Objects"
    Following is link for whom encountered this issue.
    http://forums.sun.com/thread.jspa?threadID=5362426
    Edited by: Rohit_Lad on Jan 30, 2009 2:35 PM

  • 11g and Could not compile stylesheet

    Hello,
    I using Oracle 11g R2.
    I'm using a Java Stored Procedure.
    And I'm using the Oracle's XSL file example.
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:math="http://www.oracle.com/XSL/Transform/java/java.lang.Math">
    <xsl:template match="/">
    <xsl:value-of select="math:ceil('12')"/>
    </xsl:template>
    </xsl:stylesheet>
    And I get the following exception :
    javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
    Can anybody help me ?

    I believe you should ask this question at some XML forum.
    Aman....

  • TransformerConfigurationException...Could not compile stylesheet

    So far my XSLT stylesheet was executed in operations mapping without problems.
    However I had to make some changes (e.g. adding some additional xsl:choose elements) and now I get the following compilation error:
    TransformerConfigurationException occured when loading XSLT xxxxxxx; details: Could not compile stylesheet
    I develop and change the XSLT externally using XML Spy and there I could run a test transformation without problems or errors.
    Only after reimporting as IA archive and selecting the new version in operations mapping I get the error.
    How is this possible? How can I debug to find the root cause for the error?
    Edited by: Florian Guppenberger on Nov 13, 2009 6:05 PM

    Hello,
    what I have done is to add an additional <xsl:choose> to an already existing <xsl:choose> in the <xsl:otherwise> branch at several locations. Example below.
    I hope that there was not typo somwhere else, however what is very strange is that XML Spy says that the XSLT is well-formed and a test transformation executes successfully too.
    For that XSLT it is not such a big problem, because I can roll-back to the previous version but I am really concerned if you build a big XSLT from scratch in XML Spy an after import in PI you get a compilation error. So it would be really good to find a root cause for this.
    <xsl:choose>
    <xsl:when test="RET_DATE">
      <xsl:attribute name="nullFlavor"><xsl:value-of select="RET_DATE"/></xsl:attribute>
    </xsl:when>
    <xsl:otherwise>
        <xsl:choose>
            <xsl:when test="RET_DATE_VALUE='00000000'">
                 <xsl:attribute name="nullFlavor"><xsl:text>NA</xsl:text></xsl:attribute>
            </xsl:when>
            <xsl:otherwise>
                 <xsl:attribute name="value"><xsl:value-of select="RET_DATE_VALUE"/></xsl:attribute>
            </xsl:otherwise>
          </xsl:choose>  
    </xsl:otherwise>
    </xsl:choose>
    Edited by: Florian Guppenberger on Nov 16, 2009 11:05 AM
    Edited by: Florian Guppenberger on Nov 16, 2009 11:06 AM

  • XSLTC Giving Could Not Compile Stylesheet.

    Hi All,
    Till now i am using xalan.jar and my xsl is as fallows
    <xsl:stylesheet xmlns:js="javascriptcode" xmlns:java="http://xml.apache.org/xslt/java" exclude-result-prefixes="js java" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:lxslt="http://xml.apache.org/xslt" version="1.0">
    <xsl:template match="/">
    <xsl:apply-templates select="b"/>
    </xsl:template>
    <xsl:template match="b">
    <tar:target xmlns:tar="http://target">
    <tar:Element>
    <xsl:value-of select="js:fnMathematicalAbsolute(/b/b12)"/>
    </tar:Element>
    </tar:target>
    </xsl:template>
    <lxslt:component prefix="js">
    <lxslt:script lang="javascript">function fnMathematicalAbsolute(iNum) {return(Math.abs(iNum))}</lxslt:script>
    </lxslt:component>
    </xsl:stylesheet>
    This works fine Xalan . It is able to call the js extensions .
    I want to move from xalan to JDK 1.5 XSLTC .If ia m using this xsl It is giving Could not compile the stylesheet.
    Can anyone tell me why JDK1.5 doent compiling the stylesheet or is it a problem with my stylesheet. .This is urgent for me as i need to move to jdk 1.5 xsltc.
    Thanks in advance ,
    Sasi.A

    The problem is that J2SE 5 (unlike J2SE 6) does not include a JavaScript engine which is, however, required to interpret the JavaScript code embedded in XSLT stylesheets. You either have to keep on using Xalan (this utilizes Mozilla's Rhino JavaScript engine through the org.apache.bsf.BSFManager class) or switch to J2SE 6.
    Below are download links to three components that make up an applicable unit to compile your stylesheet:
    Xalan (xalan.jar, 3078601 bytes)
    http://apache.mirrors.ebizlab.hit.bme.hu/dist/xml/xalan-j/binaries/xalan-j_2_7_0-bin.zip
    Rhino JavaScript engine (js.jar, 708951 bytes)
    ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_6R5.zip
    Jakarta BSF (bsf.jar, 113369 bytes)
    http://apache.mirrors.crysys.hit.bme.hu/dist/jakarta/bsf/binaries/bsf-bin-2.4.0.zip

  • Could not compile stylesheet error on tomcat environment.

    I have created xslt for generating pdf report.It's working fine on OPM when I run through OPM.
    But when I deployed same XSL on tomcat enviroment it doesn't compile error.
    Following the XSLT I have created
    and it give me the error for this line
    i.e ERROR: 'Syntax error in 'name() eq'attribute' '.'
    <?xml version="1.0" encoding="iso-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:fn="http://www.w3.org/2005/xpath-functions">
    <xsl:output method="xml" indent="yes" encoding="utf-8" omit-xml-declaration = "yes" />
    <xsl:template match="/">
    <fo:root>
    <fo:layout-master-set>
    <fo:simple-page-master master-name="my-page">
    <fo:region-body margin="1in"/>
    </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="my-page">
    <fo:flow flow-name="xsl-region-body">
    <fo:block >
    <xsl:apply-templates mode="dump" select="/session/entity/instance/attribute"/>
    </fo:block>
    </fo:flow>
    </fo:page-sequence>
    </fo:root>
    </xsl:template>
    <xsl:template match="*" mode="dump" priority="100">
    <fo:block >
    <xsl:if test="name() eq'attribute' ">
              <fo:block margin-left="1cm">
              <xsl:for-each select="@question-text">
              <xsl:value-of select="."/>=
              </xsl:for-each>
              <xsl:if test="string-length(normalize-space(text())) > 0">
                             <xsl:value-of select="text()"/>
                   </xsl:if>
              </fo:block>
    </xsl:if>
    <xsl:apply-templates mode="dump" select="*"/>
    </fo:block>
    </xsl:template>
    </xsl:stylesheet>

    Not every xslt parser acts the same, the one in OPM is not so restrictive (unfortunately)
    Try adding a space between eq and 'attribute'.

  • ADF Faces: !-- ERROR: could not create stylesheet for oracle-desktop.xss

    Hi,
    I'm using ADF Faces EA6. Sometimes when I create the EAR, it doesn't include the file "oracle-desktop-ea6-ie-6-windows.css" which muest be present in the "adf/styles/cache" directory. If I check the source code from the browser, it starts like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html dir="ltr" lang="es-ES">
    <head><title>Sistema de Seguridad</title><meta name="generator" content="Oracle ADF Faces"><!-- ERROR: could not create stylesheet for oracle-desktop.xss --><script type="text/javascript" src="/fmv/adf/jsLibs/Commonea6.js"></script><script type="text/javascript">_defaultTZ()</script></head>
    Please note the comment: <!-- ERROR: could not create stylesheet for oracle-desktop.xss -->
    Does somebody know the reason?
    TIA,
    Brian

    If everything is set up properly the css will get generated if it doesn't exist. You do not have to be running in the IDE for the css to be correctly generated. Running the app first is generating the css before you deploy, so you've taken away the symptom but not solved the problem. If you try running on another browser, for example, you'll probably run into the same problem.
    Does your ear get unzipped when you deploy? Do you have a writable file system for the css to get written to? There is a known issue with WebLogic where it doesn't expand the EAR.
    Please check to see if there are errors in the logs.

  • TREX error Index category could not be created: Exception 8,Error

    Hi,
    I am geting the error  while creating the index on TREX 6.1. In t-code SKPR07 I have check the application log and got the following error and I am not able to create the index. Moreover I have check all setting as per installation document its looking fine. Please help me.
    <b>error:-
    Index category could not be created: Exception  8, Error
    Message no. INDEXING015
    Diagnosis
    An error occurred when a new index category was generated using the
    function module SRET_IDXCAT_CREATE.</b>
    Thanks,
    Harshal

    Hi Harshal,
    i just found your Question here, while I was searching the SCN for a solution. Because I had the same Issue.
    In the SAP Support Portal I found the SAP Note 1512896 - KPro: Index category could not be created.
    Take a Look at it. I guess, that could solve your problem (if it´s still exists)
    Regards
    André

  • CRM order giving the document could not be saved exception! Please help!

    Hi Experts,
       I am changing the status of a order using CRM_STATUS_CHANGE_EXTERN and CRM_STATUS_CHANGE_INTERN.
       After this I call CRM_ORDER_INITIALIZE and the BAPI_BUSPROCESSND_SAVE.
       Finally commit.
               CALL FUNCTION 'CRM_ORDER_INITIALIZE'
                  EXPORTING
                    it_guids_to_init  = lt_crmd_guids
                    iv_init_frame_log = 'X'
                    iv_keep_lock      = 'X'
                  EXCEPTIONS
                    error_occurred    = 1
                    OTHERS            = 2.
                ls_obj_save-guid = v_header_guid.
                append ls_obj_save TO lt_obj_save.
                CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
                   EXPORTING
                    UPDATE_TASK_LOCAL       = 'X'  "commented. Taking default
                     SAVE_FRAME_LOG          = 'X'
                   IMPORTING
                     LOG_HANDLE              = lv_log_handle
                    TABLES
                      OBJECTS_TO_SAVE         =  lt_obj_save
                      SAVED_OBJECTS           =  lt_obj_saved
                      RETURN                  =  lt_return.
        The function BAPI_BUSPROCESSND_SAVE is returning error: The document could not be saved in it_return. I am not getting any other details. What am I doing wrong? Please help!
    Thanks & Regards
    Gopal

    Hi Robert,
       The SPRO settings seems to be fine.
       The problem is that the order is not getting saved whenever there is backward status change. However if I see the item status via tcode "crmd_order" then it actually shows the new status. In other words status is changing but still order is not getting saved.
       When I debugged the code I found that first It has successfully executed the FM CRM_STATUS_CHANGE_EXTERN and then when CRM_ORDER SAVE is called the parameter et_saved_objects is empty. I am passing header Guid in  it_objects_to_save. If order is saved properly then et_saved_objects should be filled with order guid.
    CALL FUNCTION 'CRM_ORDER_SAVE'
                   EXPORTING
                     it_objects_to_save = lt_save
                   IMPORTING
                     et_saved_objects   = lt_saved_obj
                   EXCEPTIONS
                     document_not_saved = 1
                     OTHERS             = 2.
    On further debugging inside CRM_ORDER SAVE I found that the FM CRM_EVENT_PASS_INFO_EXE_OW returns lt_events empty. That means the given guid  is not registered for saving. Why is this so?
      are there objects registered for saving
        call function 'CRM_EVENT_PASS_INFO_EXE_OW'
          exporting
            iv_exetime     = gc_event_exec_time-save_order
            iv_order_guid  = ls_object_to_save
            iv_obj_kind    = gc_object_kind-orderadm_h
          importing
            et_event_calls = lt_events
          exceptions
            others         = 99.
        if lt_events is initial.
          delete ct_objects_to_save.
          continue.
        endif.
       The problem is when the order is not getting saved the status change is not getting transferred to BW or BI.
       What could be the issue?
    Thanks
    Gopal
    Edited by: gopalkrishna baliga on Apr 7, 2011 5:59 AM
    Edited by: gopalkrishna baliga on Apr 7, 2011 6:09 AM

  • ERROR: could not create stylesheet for blaf.xss

    I am suddenly getting this error when trying to run a jsp using the following tag in 9.0.3 :
    <uix:styleSheet>
    Any ideas as to why and how I can fix this problem?
    -Teri

    Teri,
    Can you please post some of the source for the UIX-JSP? Are you defining the uix namespace?
    Thanks,
    Ryan

  • Could not get stylesheet cache

    I got java.lang.IllegalArgumentException:
    Required XSS file $oracle_home/ultrasearch/webapp/isearch_admin/cabo/styles/blaf.xss does not exist
    the file is in the directory. can someone tell me what is happening

    Hi,
    the short truth is that you cannot use JSF pages as login screens because
    1 - they don't know to handle the j_security_check action
    2 - the JSF contex cannot be created
    Its a JSF issue that all implementations face
    Frank

  • COULD NOT LOAD ARGUMENT EXCEPTION

    PLEASE HELP ME WITH THESE ONE
    I CANT RAN THE PROGRAM HE ALWAYS HAVE AN ERROR I INSTALL/UNINSTALL THE JWS BUT STILL THE SAME.
    IS THER ANY ONE ENCOUNTER THIS YET.

    1.) Don't write in ALL CAPS, it's considered shouting and rude
    2.) When you get an error message, post the complete message here including any stack trace you might get
    3.) provide more details, what program doesn't run? How do you start it?
    4.) Read http://www.catb.org/~esr/faqs/smart-questions.html to learn how to ask questions the smart way

  • Reg - XSLT Mapping using stylesheet exception during test

    Hi experts,
    I am new to SAP PI. Currently i am working on PI's XSLT Mapping using Stylusstudio.
    I got error *Transformer Configuration Exception occurred when loading XSLT <name>.xsl; details: Could not compile stylesheet*.
    I tried test by selecting SAP XML TOOLKIT too, then i am facing
    *com.sap.engine.lib.xml.parser.NestedSAXParseException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Prefix 'a' is not mapped to a namespace (:main:, row:4, col:15)(:main:, row=4, col=15) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Prefix 'a' is not mapped to a namespace (:main:, row:4, col:15)*.
    Kindly help me to overcome this issue.

    Hi,
    Simply your XSLT file is not a well-formed XML. Check your syntax. You could also use the XML Tools plugin to Notepad++ to help you determine where the syntax error is precisely.
    Moreover, this error "Prefix 'a' is not mapped to a namespace" might mean that you are using a tag: <a:something>, but "a" is not properly declared as a namespace, for instance like: xmlns:a="something.sap.com".
    Hope this helps,
    Greg

Maybe you are looking for

  • XPath expressions in aggreation functions behave different than I expect

    Hi, I'm having the following very simple schema: <?xml version="1.0" encoding="ISO-8859-1" ?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="a" type="AType" /> <xs:complexType name="AType"> <xs:sequence> <xs:element name="b

  • IPS 4240 won't boot

    After attempting to install a newer system image, I receive the following output: Launching Bootloader... Default configuration file contains 1 entry. Searching / for images to boot. No images in / Error 15:File not found Unable to boot an image I ca

  • HT201302 How to delete all pictures in Camera Roll at once?

    How to delete all pictures in Camera Roll at once?

  • [CS2/CS3] - TreeView - display style

    Hi, I'm trying to use TreeViewWidget to use it for isnerting rows witch CheckBoxWidget + StaticTextWidget and the problem is that the default look of TreeView is with points and numbers like you can see from screenshot bellow. Please could you help m

  • Properties to show items under an individual KM folder

    Hi, I am trying to see if there is a propertie on either a collection rendere og resource rendere that can show the KM user the number of files presented underneith the different folders. Does anyone have any input on this?? BR Jesper