Version compatability for Transformation

Hi,
I developed code for transforming the xmls by using xsl contain java methods
ex:
<xsl:stylesheet version="2.0" xmlns:jiva="com.seq.sqlxml.xslutil" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="seq" >
<xsl:output method="xml" indent="yes" encoding="utf-8"/>
<xsl:param name="SEQXML"/>
<xsl:template match="/">
<ROOT>
<xsl:attribute name="mapping-schema"><xsl:value-of select="seq:getMappingSchemaName($SEQXML)"/></xsl:attribute>
<Cart relation="Cart" >
<xsl:for-each select="pageXML/Cart" >
<CartId> <xsl:value-of select="seq:getContextSequence($SEQXML, ./CartId, 'Cart_Sequence')" /> </CartId>
</xsl:template>
</ROOT>
Here getContextSequence(int cartId,String CartSequence) is java function
My problem is
StreamSource stylesource = new StreamSource(new File(xSLFile));
Transformer transformer = TransformerFactory.newInstance().newTransformer(stylesource);
This code is working well for j2sdk 1.4 but it raises the Exception in JDK1.5
Exception:
ERROR: 'The first argument to the non-static Java function 'getMappingSchemaName' 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:824)
     at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
So please help to over come this problem.
Thanks & regards
Tiger

Hi,
I developed code for transforming the xmls by using
xsl contain java methods
ex:
<xsl:stylesheet version="2.0"
xmlns:jiva="com.seq.sqlxml.xslutil"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
exclude-result-prefixes="seq" >
<xsl:output method="xml" indent="yes"
encoding="utf-8"/>
<xsl:param name="SEQXML"/>
<xsl:template match="/">
<ROOT>
<xsl:attribute
name="mapping-schema"><xsl:value-of
select="seq:getMappingSchemaName($SEQXML)"/></xsl:att
ibute>
<Cart relation="Cart" >
<xsl:for-each select="pageXML/Cart" >
<CartId> <xsl:value-of
select="seq:getContextSequence($SEQXML, ./CartId,
'Cart_Sequence')" /> </CartId>
/xsl:template>
</ROOT>
Here getContextSequence(int cartId,String
CartSequence) is java function
My problem is
StreamSource stylesource = new StreamSource(new
File(xSLFile));
Transformer transformer =
TransformerFactory.newInstance().newTransformer(styles
ource);
This code is working well for j2sdk 1.4 but it
raises the Exception in JDK1.5
Exception:
ERROR: 'The first argument to the non-static Java
function 'getMappingSchemaName' is not a valid object
reference.'
FATAL ERROR: 'Could not compile stylesheet'
javax.xml.transform.TransformerConfigurationException:
Could not compile stylesheet
at
t
com.sun.org.apache.xalan.internal.xsltc.trax.Transform
erFactoryImpl.newTemplates(TransformerFactoryImpl.java
:824)
at
t
com.sun.org.apache.xalan.internal.xsltc.trax.Transform
erFactoryImpl.newTransformer(TransformerFactoryImpl.ja
va:619)
So please help to over come this problem.
Thanks & regards
TigerYou get that error because you are trying to invoke a method in the wrong object reference. I suspect your passed in parameter $SEQXML is not a
com.seq.sqlxml.xslutil object instance.
First make sure the method you are trying to invoke has the right signature. Second, if the method is not a static method, then make sure the object parameter you passed in is the correct instance.

Similar Messages

  • Version compatibility for installing WLS and ADR for ADF 11.1.2.0

    Hi,
    Can anyone pls let me know what versions of Weblogic server, Application Development Runtime (ADR) is required to install Oracle JDeveloper 11.1.2.0
    B'coz currently I am trying to install Weblogic server, ADR and ADF separately and try to deploy and publish an application in ADF 11.1.2.0 verison.
    I am trying this for the past 4 days, but still can't deploy an application successfully in ADF 11.1.2.0 version. Pls let me know the version compatibility.
    Thanks,
    Aparna

    Hi John,
    Even I saw the link that u had mentioned. From where can I install these ?
    I had downloaded WLS 10.3.5 and ADR 11.1.1.5 separately. But from where do I install the patch ?? I didn't find a proper source to download.
    Pls help.
    Thanks,
    Aparna

  • Jre 2.2 version compatable for Palm OS

    Hi, I am using Palm os device. I would like to develop a application with SOAP and other facilities which is availabale on j2me 2.2 or 2.3 version but for Palm os there is only 1.0 version of J2me is available. Please tell me where from i get MIDP 2.2 or 2.3 for Palm OS .
    Please send me mail on [email protected]

    Is ther a player for any of the previous versions? i think
    the only Palm-based device that had a player is the Sonly Clie. If
    memory serves, it wasnt the OS itself, but the hardware power (or
    lack thereof) on most Palm devices. Don't know where the FlashLite
    player stands in relation to Palm devices though. You might want to
    post on the mobile & devices forums or try to get in touch with
    Bill Perry (www.flashdevices.net) at Adobe directly.
    Good luck!

  • Latest version info for internet sales.

    Hi all,
    We are having ECC 6.0 and EP 7. is there any version compatable for this. please provide with some informaiton on the same.
    Regards,
    Srikanth Anthargam

    Hello,
    I've just had a look into the Product Availability Matrix http://service.sap.com/pam but I can't find it here. I think you should open a OSS Message to get a official answer.
    Regards
    Gregor

  • Version compatibility  of 10G Application Server 10.1.2.0.2  with  JDK 1.5.

    hi buddies,
    I want to know that whether
    10G Application Server 10.1.2.0.2 with JDK 1.5. is Version compatibility
    pls do send ur replies if known to you.

    Hi ,
    As far as I know AS 10.1.2.0.2 is Not certified with JDK 1.5.
    Please see below some links where you can double-check this
    1. OC4J with JDK 1.5 JSP compilation error
    2. http://docs.huihoo.com/oracle/docs/B14099_19/web.1012/b14011/chap1.htm
    "Only the JDK 1.3.1 and JDK 1.4 compilers are supported and certified by OC4J. It is possible to specify an alternative compiler by adding a <java-compiler> element to the server.xml file, and this might provide a workaround for the "classes not in packages" issue, but no other compilers are certified or supported by Oracle for use with OC4J."
    3. "Certified JDKs" from
    http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
    BR,
    Mihai

  • NWDI version compatibility

    Hi,
    Does anyone know if there are any version compatibility constraints developing Java WebDynpro applications on an NWDI (WAS6.40) for deployment on a WAS7.00 instance (e.g. JDK's)?
    I've yet to find a general recommendation similar to that seen for SLD (i.e. keep in line with the highest WAS version on the estate) or any clear documentation on version compatibility across WAS stacks with respect to NWDI.
    We have a highly complex landscape with multiple component/ product versions, and we'd prefer to have a singel central NWDI instance, but I'm not sure if this is practical and/ or possible.
    Any pointers/ documentation/ comments gratefully received
    Cheers
    Neil

    While I can't remember where I've seen it, SAP does recommend that the DI always be kept patched to the latest levels, regardless of what version your landscape (or pieces thereof ) is at.
    So, as long as your DI is at patched to at least the same level as your most 'advanced' system, you should not have any problem.  You should also match your Developer Studio to the same level as your target system to avoid using any plug-ins that offer features not offered by the eventual runtime system.  Yes, the required libraries will be ok (as long as you configure the SLD and the associated track correctly), but the Developer Studio itself needs to be matched up.
    Hope that makes sense.

  • Photoshop Extended version compatability

    I have Photoshop CS3 Extended on both PC (Windows XP) and Mac (OS X Leopard). I'm able to upgrade the PC to CS5 Extended but not the Mac.
    My questions are:
    1 - Will Photoshop CS5 extended work on Windows XP?
    2 - Are CS3 and CS5 backwards compatible - if I work on a document in PC CS5 will the Mac CS5 version be able to open it? I know there will be some things that would not translate backwards, such as Puppet Warp and some of the newer masking and layers features, but I'd still like to be able to work on more basic functions of masking, cloning, etc. on both computers.
    Thanks for any help,
    Marcy

    Noel Car boni wrote:
    For the most part, a document saved from Photoshop CS5 will be no problem to open in CS3.  There's a "Maximize Compatibility" setting in Edit - Preferences - File Handling section that you'll want to set to "Always".
    -Noel
    My take is that the compatibility setting should be set based on the kind of work one does.  I have it set to  "Never".  When you check this setting ON you tell Photoshop to save along with all your layers another entity, which is a flattened version of the image. This, makes every PSD file you save larger by a non trival amount.
    So this setting should have no effect regarding Photoshop to Photoshop version compatibility. All Photoshop versions understand layers and do not need a flattened version.  It's intended to maximize the compatibility between Photoshop and any other program  that does not know about  layers but reads PSD files. If you have many of your PSD files going to, for example,  Lightroom or Premiere then set it to "Always". If not, you can set it to "Ask" or "Never" and save yourself a lot of storage space.
    Paulo

  • Adobe Reader version compatability

    I have a PDF that is compatible with Adobe reader 11.0.2 and I have version 11.0.5 currently installed.  Version 11.0.5 won't open the PDF.  How can I open this PDF? Do I need to specifically download version 11.0.2?
    Thanks for any help!

    I can open Reader on its own.  I am trying to download a grant application and when I click on the link that is supposed to open it through Reader it says that Reader is not compatible and that I need to install the latest version of the PDF viewer.  When I click on the link to install the latest version it send me to the Reader installation.  I have installed and tried reinstalling Reader and it hasn't helped.  In the instructions for the grant it only talks about compatability for versions up to 11.0.2 that's why I wasn't sure if maybe the problem is because I have 11.0.5. 

  • Re: (forte-users) C++ version compatibility question. Fortev30L2 on D

    Dirk:
    I ran into a similar problem. I added an other flag to my fcompile script and
    it seems to be working fine, your mileage may vary. The flag was
    -cflags "-oldcxx only"
    Dwayne Kryger
    "Haben, Dirk" <[email protected]> on 08/25/99 02:09:16 AM
    To: "'Soapbox Forte Users'" <[email protected]>
    cc: (bcc: Dwayne Kryger/SEH)
    Subject: (forte-users) C++ version compatibility question. Forte v30L2 on
    Digital Unix 4 d and C++ version ???
    G'day Folxs
    Just installed Forte as a Simple Server on a Digital UNIX (v4.0d) box (being
    a VMSbot it was much easier than I thought). We want to use it to interface
    with an existing web client. The Forte part is to provide us a scalable
    access path to Oracle DBs on the VMS machine; already running Forte.
    I'm having trouble finding media that contains C++ v5.4.-006 for the Unix
    box. Does anyone know of/has used higher versions of C++ without too much
    drama? How about v5.7 or even v6.1? We will be using extensive C++
    interfacing to existing web pages!
    NB: The current web system client is compiled using EGCS 2.91.66.
    TIA,
    /[:-)irK
    Dirk Haben, Perth WA
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: [email protected]

    Dirk:
    I ran into a similar problem. I added an other flag to my fcompile script and
    it seems to be working fine, your mileage may vary. The flag was
    -cflags "-oldcxx only"
    Dwayne Kryger
    "Haben, Dirk" <[email protected]> on 08/25/99 02:09:16 AM
    To: "'Soapbox Forte Users'" <[email protected]>
    cc: (bcc: Dwayne Kryger/SEH)
    Subject: (forte-users) C++ version compatibility question. Forte v30L2 on
    Digital Unix 4 d and C++ version ???
    G'day Folxs
    Just installed Forte as a Simple Server on a Digital UNIX (v4.0d) box (being
    a VMSbot it was much easier than I thought). We want to use it to interface
    with an existing web client. The Forte part is to provide us a scalable
    access path to Oracle DBs on the VMS machine; already running Forte.
    I'm having trouble finding media that contains C++ v5.4.-006 for the Unix
    box. Does anyone know of/has used higher versions of C++ without too much
    drama? How about v5.7 or even v6.1? We will be using extensive C++
    interfacing to existing web pages!
    NB: The current web system client is compiled using EGCS 2.91.66.
    TIA,
    /[:-)irK
    Dirk Haben, Perth WA
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: [email protected]

  • Practical, experience-oriented recommended device (f/w? /) s/w version(s) for all PC-centric activities on the TELUS Mobility BB Tour 9630

    Hey all ... I am wondering if I can pick people's brains and get good advice re: practical experience-oriented recommended device (f/w? /) s/w version(s) for all PC-centric activities on the TELUS Mobility BB Tour 9630, including the PC-resident s/w(pkgs) & USB / USB Serial drivers (on XP Pro SP3).
    I will likely be wanting to upgrade various (f/w? /) s/w components after a 3 year hiatus on the BB front  ... however, based on my own IT experience, newer / newest (f/w?) / s/w(pkgs) is (are) not always best for the end-user, and, can even be limiting in certain identifiable respects ... I'm speaking in general terms here ... so ... it may be that the latest BB s/w is the absolute best way to go for my PC O/S platform and Tour device ... I'm just throwing out there this notion of making an educated determination as to which upgrades to install and to what version level, in case the general suspicions I outlined above have any merit.
    I don't have (or want) Data enabled on this 9630, so, getting screen captures or Copied text off it (like all the information in Options > About: "BlackBerry (R) 9630, smartphone (3G, CDMA), v5.0.0.419 (Platform 4.2.0.179), 3G Bands 1 ... " [and, or course, there's lots more info on that screen ... ]) have so far eluded me (any suggestions or help on that front would be greatly appreciated) ... perhaps most of the device-relevant version info required by forum members to help me make this determination also appears in my PC screenshots below.
    Here's what I have left over on my PC from my dealings with my BB Storm 9530 from 3 years ago:
     Thanks, FFF
    Solved!
    Go to Solution.

    Hello! Thank you for those clarifications...they do help greatly to understand your request. Here's my opinions:
    Frankenstien wrote:
    More simply put ... should I upgrade my TELUS Tour 9630 software (currently at:  v5.0.0.419 [Platform 4.2.0.179] to the most currently available software, whatever version # / Platform # that may be?
    Or, is there some advantage in upgrading only to a certain BlackBerry Operating System version level on this particular device?
    For your 9630, you already are on the latest OS level that Telus released/supports. I do not know if other carriers have released anything more advanced, but you can read some very good discussion here:
    http://supportforums.blackberry.com/t5/BlackBerry-Tour/Verizon-Tour-Users-Revert-to-old-OS-here/td-p...
    Based on what I've seen, I'd surmise that there is nothing "newer" than what you have...at least not officially...but you can dig through the official download portal to validate that:
    http://us.blackberry.com/support/apps-and-software/desktop-and-device-download-sites.html
    Given that it's the carriers who hold responsibility for releasing BB OS packages to their customers, that portal is indeed sorted first by carrier...so you must first dig to discover which carriers support your 9630 and then compare the OS packages that each supporting carrier has released. Sadly, it is also the responsibility of the carriers to release change log information, but all too many of them are rather lax on that point. But, that thread I linked for you above has I believe some very good information that might help you in your quest. You also should seek out other threads here (and elsewhere) on similar topics.
    Frankenstien wrote:
    And, should I upgrade the BlackBerry USB Driver / USB Serial Driver / Device Manager / Desktop Manager software on my XP Pro SP 3 PC to the most recently available versions? (screenshots in 1st post show all the current version #'s ... this software was all installed circa mid-2009)
    Or, is there some advantage in upgrading only to certain BlackBerry software version levels for each of the items referenced above ... in the case of this particular device?
    The Desktop Software does not care about the specific device. Rather, it provides certain capabilities that you must choose from. For instance, if you need the ability to export from your BB to CSV/ASCII, then you need to stay behind in the version 6 range as that function was removed from version 7. Likewise, if you are intending to synchronize your BB with a desktop PIM (e.g., Outlook), you need to ensure that you are running a Desktop Software version that is compatible with your PIM:
    KB12268Synchronization support for BlackBerry Desktop Software for Windows
    If neither of those are important and/or compatibility is fine with the latest version, then it's usually wisest to stick with the latest version for bug fixes, feature enhancements, etc. That is not to say that folks don't have problems with the latest version...perusing the Desktop Software board on this site will bear that out quite quickly indeed! But, by and large, there should be no harm/no foul to using the latest Desktop Software version with your BB.
    Further, it's always a good idea to also download and install to your PC the BB OS package that is actually running on your BB. Doing this somewhat customizes the Desktop Software so that it can best work with your specific BB environment. You cannot pick and choose what components within the Desktop Software you wish to upgrade (that "line item" mention you made)...rather, you install the entire package, and it contains within it whatever it has as "current" based on the overall version of the Desktop Software package.
    Hope that helps! Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Export to excel compatable for Office 2000

    Hi guys
    Could you  tell me is it the
    Export to excel function is compatable for office 2000.
    i am using BI 7.0  using Gui 7.0
    thanks in advance
    regards
    AK

    Hi Mauricio!
    It only works on Excel versions, which can import XML. The Excel export
    functionality creates an Microsoft Excel XML file and with Excel versions
    2002 and higher this works. Excel 97 has no XML import - so it doesn't work at all.
    Greetings
    Frank

  • WAP54G Version compatibility

    I am trying to create a wireless bridge between a network with ip's 198.1.1.xxx (this network has the gateway) to a network with ip's 198.1.2.xxx -  so that it can access the internet thru the gateway).  Both AP's are WAP54G set to bridge mode. Both are configured identically except for the IP numbers.  SSID broadcast disabled and security off.  From everything I have read, I should be able to ping (example 4.2.2.2) from 198.1.2.xxx - but cannot.  The only difference I can see it that one of the WAP54G's is version 2 and the other is Version 3.  Both have firmware 3.0.4.
    Question: Can anyone confirm that I can or cannot create a wireless bridge with differing versions of the same device?
    As a plan B, I have on order a WET200.  Should I have two on order to act as a matched pair as the WAP54G's had to be?
    Thank you.
    Craig

    I work with psd, indd and illu/eps files. I've heard the weird argument that "cause of new features it's not possible to be version compatible, but that's down right silly. Text on top of an image should be readable in any version. Even with a copule of adjustment layers it should be no problems with version compatibility. That Adobe choose to lock and force is another story. I guess I will be sticking to my CS6 version in the years to come. I paid a lot of money for that Master Collection. I also corresponde files with many CS4 users on the client side.

  • HT1444 I am using Mac os x 10.5.8  does this version allow for an upgrade to mountain Lion

    I am currently using mac os x 10.5.8   Does this version allow for an upgrade to Mountain Lion?

      Snow Leopard Purchase
    If you are unsure exactly what year your Mac is, check the model number.
    Model Numbers
    You also might want to check application compatability since PowerPC applications aren't supported.
    Application Compatibility
    If you can't upgrade to Mountain Lion, here are the requirements for Lion.
    Computer Compatibility - Lion
    If you have applications that you want to use that aren't compatible, you can retain Snow Leopard and create a new partition to install Mountain Lion on.

  • I've checked my current plugins and it still shows Adobe Acrobat Version 7 for Netscape (7.0.9.50) I tried to do the update but I got an error - "Please tell Microsoft about this problem" "Send Error Report/ Don't Send".

    I've checked my current plugins and it still shows Adobe Acrobat Version 7 for Netscape (7.0.9.50)
    I tried to do the update but I get the same error each time - "Please tell Microsoft about this problem" "Send Error Report/ Don't Send".
    Also, do I need to Disable or Uninstall the Extension: "SEO For Firefox 3.3.4 as this was highlighted?
    == This happened ==
    Every time Firefox opened
    == When I try to do the update

    http://www.microsoft.com/mac/support
    http://answers.microsoft.com/en-us/mac/forum/macword?auth=1
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/microsoft-wor d-for-mac-2011-will-not-open-error/ecc42616-6f49-40bb-b8f5-e21c711ea359

  • The same Object Version Number for the same person id multiple times

    Hello all,
    I am currently facing an issue with HRMS tables and the object version number for employees. I am trying to write a report but due to the same object version number for the same person appearing in several row i am getting duplicate information. For example,
    person id 91 object version number 32 is on 4 rows and i have no idea why...help please guys, I'm at a lost so far 50 people are facing the same issue.

    Hi Baal666bobo,
    The person table is date-tracked, so the PK has effective start and end dates as well.
    Get the correct record with sysdate(or any particular date) and then check the OVN.
    Cheers,
    Vignesh

Maybe you are looking for

  • How do I delete phone number in FaceTime

    How do I delete phone number for FaceTime?

  • Connecting Dual Monitors to my HP Laptop

    I have a HP Envy  dv7 Laptop. Windows 8.1 Inter Core i 7-3630QM [email protected] GHz 16GB Ram 64 bit 1 TB HD Intel HD Graphics Nvida GeForce GT 635m 2 monitors: HP w2207h W?: 1-HDMI; 1-VGA & 1- USBin. 2-USB out HNC LCD 27" Monitor HDMI 1 HDMI 2 VGA

  • T-code CJ30,system gives an error of maximum time exceeds

    Dear Sir When we are executing T-code CJ30,system gives an error of maximum time exceeds and some time the report is coming,we have exceeded the time also but no outcome,since our project builder is not so huge.Particulary we are facing in one projec

  • Why doesnt iCloud back up my data automatically?

    iCloud is suppose to back up my iPod touch 4g automatically every time I plug into power and am connected to wifi. However, it doesn't. Instead, I have to manually press "back up now". Am I doing something wrong? I am running iOS 5 and I plug my iPod

  • Implementi​ng a logging loop

    Dear all, I am facing troubles in getting the logging loop implemented. In my program I feed a .txt file as an input to the program. I want to set up a counter that may ask how many times the same text file need to be run. All suggestions are welcome