Error in generating a new XSL Transformer from large xslt File
Good day to all,
Currently I am facing a problem that whenever i try generating a Transformer object from TransformerFactory, I will have a TransformerConfigurationException threw. I have did some research from the net and understand that it is due to a bug that JVM memory limit of 64kb. However is there any external package or project that has already addressed to this problem? I have checked apache but they already patch the problem in Xalan 2.7.1. However I couldn't find any release of 2.7.1
Please help
Regards
RollinMao
If you have the transformation rules in a separate XSLT file, then, you can use com.icl.saxon package to get XML files transformed. I have used this package with large XSL files and has worked well.
Similar Messages
-
Error: The following required field is missing from the launch file: jnlp
PLEASE help me.
I was at Starbuck's today trying to install new software for my new wireless internet card and when I finished I could no longer access any of my applications that require java... I have a macbook pro dual platform computer. When I try to access www.bayphoto.com to download my application it says: (see below) (which I think is strange because it's all about Starbuck's and it should be my java code- I think...). Like I said - I have no idea what's going on or how to fix this. Please help me or at least tell me whom to call- I feel so stupid- I just need help- ATT? Starbuck's? Sun?
Error: The following required field is missing from the launch file: <jnlp>
Under the "exceptions" tab it says:
MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:88)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:52)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:64)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:72)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:214)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:127)
at com.sun.javaws.Launcher.launch(Launcher.java:95)
at com.sun.javaws.Main.launchApp(Main.java:305)
at com.sun.javaws.Main.continueInSecureThread(Main.java:213)
at com.sun.javaws.Main$1.run(Main.java:108)
at java.lang.Thread.run(Thread.java:613)
Under the "launch file tab" it says:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>AT&T Wi-Fi Service @ Starbucks</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Starbucks Entertainment presented by AT&T Hotspot" />
<meta name="keywords" content="AT&T, Starbucks, Wi-fi, Wifi, Hotspot, coffee, music, books, games, fresh sheet, third place, online" />
<meta name="author" content="Starbucks Entertainment" />
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
<script type="text/javascript" language="javascript" src="/dhtml/master.js"></script>
<script type="text/javascript" language="javascript" src="/dhtml/x_core.js"></script>
<script type="text/javascript" language="javascript" src="/dhtml/x_event.js"></script>
<script type="text/javascript" language="javascript" src="/dhtml/x_xhr.js"></script>
<script type="text/javascript" src="/dhtml/att/dhtml.js"></script>
<style type="text/css">
copied from starbucks master.css
body {
background:#200D06 url("/graphics/att/themes/sbux/hotspot_bkgd.jpg") repeat-x scroll;
color:#555555;
font-family:Arial,Helvetica,sans-serif;
font-size:small;
line-height:1.5em;
margin:0pt;
padding:0pt;
text-align:center;
#wrap {
font-size:95%;
margin:0pt auto;
text-align:left;
width:980px;
#starbucksframe {
margin:15px 0pt 0pt;
padding:0pt;
/*our addendae*/
div#header {
height:95px;
width:980px;
background-image:url("/graphics/att/themes/sbux/header_bg.jpg");
background-repeat:no-repeat;
margin:0px;
background-top:0px;
background-left:0px;
background-color:transparent;
div#btn_ctti {
position:absolute;
top:10px;
margin-left:388px;
div#sbux_lfrm {
display:inline;
font-size:10px;
color:#FFFFFF;
margin-left:245px;
top:49px;
position:absolute;
line-height:10px;
font-family:verdana,arial,helvetica,sans-serif;
div#sbux_lfrm form {
margin:0px;
div#sbux_lfrm a, div#sbux_lfrm a:link, div#sbux_lfrm a:hover, div#sbux_lfrm a:active, div#sbux_lfrm a:hover {
color:#FFFFFF;
div#sbux_lfrm form label {
display:none;
visibility:hidden;
div#sbux_lfrm form input, div#sbux_lfrm form select {
font-family:verdana,arial,helvetica,sans-serif;
vertical-align:middle;
div#sbux_lfrm input.example {
color:#656565;
#sbux_lfrm_row1, #sbux_lfrm_row2 {
margin:0px;
#sbux_lfrm input#username, #sbux_lfrm input#password, #sbux_lfrm input#password_pw {
width:136px;
margin-right:6px;
font-size:10px;
#sbux_lfrm select#roamRealm {
width:130px;
font-size:10px;
color:#656565;
margin-right:6px;
#sbux_lfrm_row2 {
position:absolute;
top:21px;
left:-4px;
div#aupAgree_row {
margin-top:4px;
position:relative;
left:-4px;
div#aup_box {
float:left;
position:relative;
top:-3px;
div#aup_text {
float:left;
line-height:10px;
div#tm_badge {
width:115px;
height:94px;
float:right;
margin-right:0px;
margin-top:0px;
div#password_value {
display:inline;
div#hidden_pw_field {
display:none;
visibility:hidden;
div#sbux_lfrm.css_form {
margin-top:0px;
</style>
<style>
/* IE specs */
body {
font-size: x-small; /* IE5 Win */
voice-family: "\"}\"";
voice-family: inherit;
font-size: small;
html>body { /* be nice to Opera */
font-size: small;
/* self-clearing floats
/* trigger hasLayout and target ie5+6/win only */
*:first-child+html #header,
*:first-child+html #login_wrapper {
height:95px;
#ny_legal {
color:#CAC3BF;
font-size:11px;
font-weight:bold;
padding:0;
#ny_legal a:link {
color:#CAC3BF;
font-size:11px;
font-weight:bold;
padding:0;
</style>
</html>
TOO LONG TO INCLUDE ALL CODE<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="file:///C:\eclipse\workspace\studentconverter\webroot" href="studentconverter.jar" >two things wrong here -
first codebase is not legal URL, File.separator (backslash on windows) needs to be converted to forward slash in URL's.
second, the href is not to the jnlp file, it is to the jar !
href="studentconverter.jar" - should this be href="studentconverter.jnlp" ?
/Dietz -
Error in generating adobe interactive form created from WSDL file
Hi,
I have created a form in SFP from a WSDL file.Copy paste the below program and when i run the program it gives me error message
"_Adobe reader could not open ..Because it is either not supported file type or has been damaged (...)"_. I am not sure whether i am doing right.If this is not the right one, then how can i generate a interactive PDF from WSDL.
DATA: ie_outputparams TYPE sfpoutputparams.
DATA: i_name TYPE fpname,
i_funcname TYPE funcname.
DATA: fp_docparams TYPE sfpdocparams.
DATA: fp_formoutput TYPE fpformoutput.
DATA: data_tab TYPE solix_tab.
ie_outputparams-getpdf = 'X'.
ie_outputparams-nodialog = 'X'. " suppress printer dialog popup
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = ie_outputparams.
TRY.
i_name = 'ZSPADOBE01'. "your form name
i_name = 'Z....'. "your form name
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = i_name
IMPORTING
e_funcname = i_funcname.
CATCH cx_fp_api_repository.
CATCH cx_fp_api_usage.
CATCH cx_fp_api_internal.
ENDTRY.
fp_docparams-langu = 'E'.
fp_docparams-country = 'US'.
fp_docparams-fillable = 'X'.
CALL FUNCTION i_funcname
EXPORTING
/1bcdwb/docparams = fp_docparams
IMPORTING
/1bcdwb/formoutput = fp_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
CALL FUNCTION 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
DATA: filename TYPE string,
path TYPE string,
fullpath TYPE string,
default_extension TYPE string VALUE 'PDF'.
cl_gui_frontend_services=>file_save_dialog(
EXPORTING
default_extension = default_extension
CHANGING
filename = filename
path = path
fullpath = fullpath ).
CHECK fullpath IS NOT INITIAL.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = fp_formoutput-pdf
TABLES
binary_tab = data_tab.
cl_gui_frontend_services=>gui_download(
EXPORTING
filename = filename
filetype = 'BIN'
CHANGING
data_tab = data_tab ).
cl_gui_frontend_services=>execute(
EXPORTING
document = filename ).Hi Sanu,
Hope this link help you.
[CALLING WEB SERVICES IN INTERACTIVE ADOBE FORMS|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20280d13-7b93-2e10-51a0-ba05fd26355a]
Regards,
Shaira -
Xsl transformation from html to text.
Hi, i want to tranform an html source and produce a output as text. All i want to do is to output values from my input fields in my html source. Any ideas on how i would construct my xsl file.
example :
HTML:
<html>
<body>
<input name="od" type="text" value="123">
<input name="id" type="text" value="456">
</body>
</html>
would simply give :
123
456
Thanks for your help !!!Here is what I came up with. I changed the regular HTML into XHTML then created a stylesheet that would use XPath to find and display the values or the value fields:
test.xml (XHTML version of the HTML you posted)
======================================
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<html>
<body>
<input name="od" type="text" value="123"/>
<input name="id" type="text" value="456"/>
</body>
</html>
test.xsl
======
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>Input values</title>
</head>
<body>
<xsl:for-each select="html/body/input">
<xsl:value-of select="@value"/>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
this gives the desired result. -
Error message by periodic weekly: No output from the 1 file processed
Hi there,
since four weeks, I got a problem with the maintenance script periodic weekly. Up to December 22nd, the script did, what it should do: rebuilding the database of locate and whatis, rotating log-files. Since one week later, I got the error message: No output from the 1 file processed.
Normally, I use Anacron to do the job. When I noticed the problem, I tried to start the script with Tinker Tool System getting the same result. Another try using the Terminal (sudo periodic weekly) also failed. The commands locate and whatis are working, locate.updatedb and makewhatis also. I'm running 10.4.8; in the past, I did not have such problems. Anyone with an idea or solution?
Thanks
Klaus
MacBook Pro Mac OS X (10.4.8)Hi Gary,
here is the output you were asking for:
Last login: Thu Jan 25 20:03:55 on console
Welcome to Darwin!
DeepThought:~ dirk$ sudo /private/etc/periodic/weekly/500.weekly; echo $?
Password:
Sorry, try again.
Password:
Rebuilding locate database:
Rebuilding whatis database:
find: /usr/local/man: No such file or directory
makewhatis: /usr/share/man/man1/fetchmailconf.1.gz: No such file or directory
Rotating log files: ftp.log lpr.log mail.log netinfo.log ipfw.log ppp.log secure.log
access_log error_log
Running weekly.local:
Rotating psync log files:/etc/weekly.local: line 17: syntax error near unexpected token `)'
/etc/weekly.local: line 17: `if [ -f /var/run/syslog.pid ]; then kill -HUP 0 80 79 81 0cat /var/run/syslog.pid | head -1); fi'
2
DeepThought:~ dirk$ ls -loe /private/etc/periodic/weekly/500.weekly
-r-xr-xr-x 1 root wheel - 2532 Jan 13 2006 /private/etc/periodic/weekly/500.weekly
DeepThought:~ dirk$
It seems, Rogers idea, PsynX respectively the deficient uninstalling by me is responsible for my problems, is correct. Should I remove the whole file weekly.local or should I only remove the content? I prefer removing the whole file, because it was created while installing PsyncX. The date of creation is the same as the date of installing the app (December 25).
Klaus
By the way: it seems to me, the solution of my problem is in sight. So I want to thank you all for the amazing aid I got from you! -
Error while loading data into External table from the flat files
HI ,
We have a data load in our project which feeds the oracle external tables with the data from the Flat Files(.bcp files) in unix.
While loading the data, we are encountering the following error.
Error occured (Error Code : -29913 and Error Message : ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04063: un) while loading data into table_ext
Please let us know what needs to be done in this case to solve this problem.
Thanks,
KartheekKartheek,
I used Google (mine still works).... please check those links:
http://oraclequirks.blogspot.com/2008/07/ora-29400-data-cartridge-error.html
http://jonathanlewis.wordpress.com/2011/02/15/ora-29913/
HTH,
Thierry -
Arbitrary waveform generation from large text file
Hello,
I'm trying to use a PXI 6733 card hooked up to a BNC 2110 in a PXI 1031-DC chassis to output arbitrary waveforms at a sample rate of 100kS/s. The types of waveforms I want to generate are generally going to be sine waves of frequencies less than 10 kHz, but they need to be very high quality signals, hence the high sample rate. Eventually, we would like to go up to as high as 200 kS/s, but for right now we just want to get it to work at the lower rate.
Someone in the department has already created for me large text files > 1GB with (9) columns of numbers representing the output voltages for the channels(there will be 6 channels outputting sine waves, 3 other channels with a periodic DC voltage. The reason for the large file is that we want a continuous signal for around 30 minutes to allow for equipment testing and configuration while the signals are being generated.
I'm supposed to use this file to generate the output voltages on the 6733 card, but I keep getting numerous errors and I've been unable to get something that works. The code, as written, currently generates an error code 200290 immediately after the buffered data is output from the card. Nothing ever seems to get enqued or dequed, and although I've read the Labview help on buffers, I'm still very confused about their operation so I'm not even sure if the buffer is working properly. I was hoping some of you could look at my code, and give me some suggestions(or sample code too!) for the best way to achieve this goal.
Thanks a lot,
Chris(new Labview user)Chris:
For context, I've pasted in the "explain error" output from LabVIEW to refer to while we work on this. More after the code...
Error -200290 occurred at an unidentified location
Possible reason(s):
The generation has stopped to prevent the regeneration of old samples. Your application was unable to write samples to the background buffer fast enough to prevent old samples from being regenerated.
To avoid this error, you can do any of the following:
1. Increase the size of the background buffer by configuring the buffer.
2. Increase the number of samples you write each time you invoke a write operation.
3. Write samples more often.
4. Reduce the sample rate.
5. Change the data transfer mechanism from interrupts to DMA if your device supports DMA.
6. Reduce the number of applications your computer is executing concurrently.
In addition, if you do not need to write every sample that is generated, you can configure the regeneration mode to allow regeneration, and then use the Position and Offset attributes to write the desired samples.
By default, the analog output on the device does what is called regeneration. Basically, if we're outputting a repeating waveform, we can simply fill the buffer once and the DAQ device will reuse the samples, reducing load on the system. What appears to be happening is that the VI can't read samples out from the file fast enough to keep up with the DAQ card. The DAQ card is set to NOT allow regeneration, so once it empties the buffer, it stops the task since there aren't any new samples available yet.
If we go through the options, we have a few things we can try:
1. Increase background buffer size.
I don't think this is the best option. Our issue is with filling the buffer, and this requires more advanced configuration.
2. Increase the number of samples written.
This may be a better option. If we increase how many samples we commit to the buffer, we can increase the minimum time between writes in the consumer loop.
3. Write samples more often.
This probably isn't as feasible. If anything, you should probably have a short "Wait" function in the consumer loop where the DAQmx write is occurring, just to regulate loop timing and give the CPU some breathing space.
4. Reduce the sample rate.
Definitely not a feasible option for your application, so we'll just skip that one.
5. Use DMA instead of interrupts.
I'm 99.99999999% sure you're already using DMA, so we'll skip this one also.
6. Reduce the number of concurrent apps on the PC.
This is to make sure that the CPU time required to maintain good loop rates isn't being taken by, say, an antivirus scanner or something. Generally, if you don't have anything major running other than LabVIEW, you should be fine.
I think our best bet is to increase the "Samples to Write" quantity (to increase the minimum loop period), and possibly to delay the DAQmx Start Task and consumer loop until the producer loop has had a chance to build the queue up a little. That should reduce the chance that the DAQmx task will empty the system buffer and ensure that we can prime the queue with a large quantity of samples. The consumer loop will wait for elements to become available in the queue, so I have a feeling that the file read may be what is slowing the program down. Once the queue empties, we'll see the DAQmx error surface again. The only real solution is to load the file to memory farther ahead of time.
Hope that helps!
Caleb Harris
National Instruments | Mechanical Engineer | http://www.ni.com/support -
Error in Routine while migrating standard Transformations from 3.5 to BI7.0
Hi Experts,
We are migrating the Standard trasformations, from old version to new BI 7.0 version. when trying to create the new transformation we are getting a routine error, and unable activate the transformation.
Trasformation Name: TRCS ZCO_OM_NAE_1 -> CUBE 0PS_C08
Routine Desc.: Conversion of Actual / Commitment / Plan to Resid.Order Plan
Source Fields: 0CURRENCY & 0FISCPER
Target Fields: 0AMOUNT & 0CURRENCY
Error Message: E:Field "COMM_STRUCTURE" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement.
Routine:
PROGRAM trans_routine.
CLASS routine DEFINITION
CLASS lcl_transform DEFINITION.
PUBLIC SECTION.
Attributs
DATA:
p_check_master_data_exist
TYPE RSODSOCHECKONLY READ-ONLY,
*- Instance for getting request runtime attributs;
Available information: Refer to methods of
interface 'if_rsbk_request_admintab_view'
p_r_request
TYPE REF TO if_rsbk_request_admintab_view READ-ONLY.
PRIVATE SECTION.
TYPE-POOLS: rsd, rstr.
Rule specific types
$$ begin of global - insert your declaration only below this line -
... "insert your code here
$$ end of global - insert your declaration only before this line -
ENDCLASS. "routine DEFINITION
$$ begin of 2nd part global - insert your code only below this line *
$$ end of rule type
TYPES:
BEGIN OF tys_TG_1_full,
InfoObject: 0CHNGID Change Run ID.
CHNGID TYPE /BI0/OICHNGID,
InfoObject: 0RECORDTP Record type.
RECORDTP TYPE /BI0/OIRECORDTP,
InfoObject: 0REQUID Request ID.
REQUID TYPE /BI0/OIREQUID,
InfoObject: 0FISCVARNT Fiscal year variant.
FISCVARNT TYPE /BI0/OIFISCVARNT,
InfoObject: 0FISCYEAR Fiscal year.
FISCYEAR TYPE /BI0/OIFISCYEAR,
InfoObject: 0CURRENCY Currency key.
CURRENCY TYPE /BI0/OICURRENCY,
InfoObject: 0CO_AREA Controlling area.
CO_AREA TYPE /BI0/OICO_AREA,
InfoObject: 0CURTYPE Currency Type.
CURTYPE TYPE /BI0/OICURTYPE,
InfoObject: 0METYPE Key Figure Type.
METYPE TYPE /BI0/OIMETYPE,
InfoObject: 0VALUATION Valuation View.
VALUATION TYPE /BI0/OIVALUATION,
InfoObject: 0VERSION Version.
VERSION TYPE /BI0/OIVERSION,
InfoObject: 0VTYPE Value Type for Reporting.
VTYPE TYPE /BI0/OIVTYPE,
InfoObject: 0WBS_ELEMT Work Breakdown Structure Element (WBS Elem
*ent).
WBS_ELEMT TYPE /BI0/OIWBS_ELEMT,
InfoObject: 0COORDER Order Number.
COORDER TYPE /BI0/OICOORDER,
InfoObject: 0PROJECT Project Definition.
PROJECT TYPE /BI0/OIPROJECT,
InfoObject: 0ACTIVITY Network Activity.
ACTIVITY TYPE /BI0/OIACTIVITY,
InfoObject: 0NETWORK Network.
NETWORK TYPE /BI0/OINETWORK,
InfoObject: 0PROFIT_CTR Profit Center.
PROFIT_CTR TYPE /BI0/OIPROFIT_CTR,
InfoObject: 0COMP_CODE Company code.
COMP_CODE TYPE /BI0/OICOMP_CODE,
InfoObject: 0BUS_AREA Business area.
BUS_AREA TYPE /BI0/OIBUS_AREA,
InfoObject: 0ACTY_ELEMT Network Activity Element.
ACTY_ELEMT TYPE /BI0/OIACTY_ELEMT,
InfoObject: 0STATUSSYS0 System Status.
STATUSSYS0 TYPE /BI0/OISTATUSSYS0,
InfoObject: 0PS_OBJ PS Object Type.
PS_OBJ TYPE /BI0/OIPS_OBJ,
InfoObject: 0VTSTAT Statistics indicator for value type.
VTSTAT TYPE /BI0/OIVTSTAT,
InfoObject: 0AMOUNT Amount.
AMOUNT TYPE /BI0/OIAMOUNT,
Field: RECORD Data record number.
RECORD TYPE RSARECORD,
END OF tys_TG_1_full.
Additional declaration for update rule interface
DATA:
MONITOR type standard table of rsmonitor WITH HEADER LINE,
MONITOR_RECNO type standard table of rsmonitors WITH HEADER LINE,
RECORD_NO LIKE SY-TABIX,
RECORD_ALL LIKE SY-TABIX,
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS.
global definitions from update rules
TABLES: ...
DATA: ...
FORM routine_0001
CHANGING
RETURNCODE LIKE sy-subrc
ABORT LIKE sy-subrc
RAISING
cx_sy_arithmetic_error
cx_sy_conversion_error.
init variables
not supported
icube_values = g.
CLEAR result_table. REFRESH result_table.
type-pools: PSBW1.
data: l_psbw1_type_s_int1 type psbw1_type_s_int1.
data: lt_spread_values type PSBW1_TYPE_T_ACT_SPREAD.
field-symbols: .
füllen Rückgabetabelle !
move-corresponding to RESULT_TABLE.
check not RESULT_TABLE-amount is initial.
append RESULT_TABLE.
endloop.
if the returncode is not equal zero, the result will not be updated
RETURNCODE = 0.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
ENDFORM. "routine_0001
$$ end of 2nd part global - insert your code only before this line *
CLASS routine IMPLEMENTATION
CLASS lcl_transform IMPLEMENTATION.
*$*$ begin of routine - insert your code only below this line *-*
Data:
l_subrc type sy-tabix,
l_abort type sy-tabix,
ls_monitor TYPE rsmonitor,
ls_monitor_recno TYPE rsmonitors.
REFRESH:
MONITOR.
Runtime attributs
SOURCE_SYSTEM = p_r_request->get_logsys( ).
Migrated update rule call
Perform routine_0001
CHANGING
l_subrc
l_abort.
*-- Convert Messages in Transformation format
LOOP AT MONITOR INTO ls_monitor.
move-CORRESPONDING ls_monitor to MONITOR_REC.
append monitor_rec to MONITOR.
ENDLOOP.
IF l_subrc <> 0.
RAISE EXCEPTION TYPE cx_rsrout_skip_val.
ENDIF.
IF l_abort <> 0.
RAISE EXCEPTION TYPE CX_RSROUT_ABORT.
ENDIF.
$$ end of routine - insert your code only before this line -
ENDMETHOD. "compute_0AMOUNT
Method invert_0AMOUNT
This subroutine needs to be implemented only for direct access
(for better performance) and for the Report/Report Interface
(drill through).
The inverse routine should transform a projection and
a selection for the target to a projection and a selection
for the source, respectively.
If the implementation remains empty all fields are filled and
all values are selected.
METHOD invert_0AMOUNT.
$$ begin of inverse routine - insert your code only below this line-
... "insert your code here
$$ end of inverse routine - insert your code only before this line -
ENDMETHOD. "invert_0AMOUNT
ENDCLASS. "routine IMPLEMENTATION
Regards
Krishanu.Hi,
Go through the belowl link it may help you a lot
/message/7377688#7377688 [original link is broken]
Regards,
Marasa. -
Error in Java code in XSL transformation
Hi,
I am getting below error while transforming XML ( in string) using XSL.
XML-22047: (Error) Invalid instantiation of 'xsl:template' in 'Alarm' context.
I am using following function :
public String strConv(String message, String xslfile) throws Exception {
StringReader reader = new StringReader(message);
StringWriter writer = new StringWriter();
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory
.newTransformer(new javax.xml.transform.stream.StreamSource(new File(xslfile)));
transformer.transform(new javax.xml.transform.stream.StreamSource(
reader), new javax.xml.transform.stream.StreamResult(writer));
return writer.toString();
Corresponding XSL portion :
<xsl:template match="Alarm">
<Alarm>
<xsl:apply-templates select="Identifier" />
<xsl:apply-templates select="updateSeqNum" />
<xsl:apply-templates select="removeFlag" />
<xsl:template match="Severity">
<xsl:choose>
<xsl:when test="Severity = '0' ">
<perceivedSeverity>Clear</perceivedSeverity>
</xsl:when>
<xsl:when test="Severity = '1' ">
<perceivedSeverity>Indeterminate</perceivedSeverity>
</xsl:when>
<xsl:when test="Severity = '2' ">
<perceivedSeverity>Warning</perceivedSeverity>
</xsl:when>
<xsl:when test="Severity = '3' ">
<perceivedSeverity>Minor</perceivedSeverity>
</xsl:when>
<xsl:when test="Severity = '4' ">
<perceivedSeverity>Major</perceivedSeverity>
</xsl:when>
<xsl:when test="Severity = '5' ">
<perceivedSeverity>Critical</perceivedSeverity>
</xsl:when>
<xsl:otherwise>
<perceivedSeverity>
<xsl:value-of select="Severity" />
</perceivedSeverity>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
Please help me to find out the error.
Thanks.just a guess: Please post the output of this (add it to the top of your method):
File xslRealFile = new File(xslFile);
System.out.println("File: "+xslRealFile.toString()+" exists? "+ xslRealFile.exists());
bye
TPD -
Error while generating PDF with BI Publisher from APEX
Hi,
I am facing a problem which is intermittent.
I am generating a pdf from APEX which has been developed using BI Publisher.
I have linked the report to the APEX using report queries/report layouts in shared components.
The pdf used to open without any problems previously.But currently,I am getting the following error
"An error exists on this page.Acrobat may not display the page correctly.Please contact the person who created the pdf document to correct the document."
Once the Bi Publisher Services is restarted,I am able to generate the pdf.Again After sometime the same error pops up.
Has anybody faced the above error?
Any solution for the same.
Kindly reply.
Thanks and Regards,
K Tannain the log file,following message was shown
[050510_021134100][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
[050510_021134126][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
[050510_021134126][oracle.apps.xdo.template.FOProcessor][STATEMENT] End Memory: max=15744MB, total=237MB, free=121MB -
Error while generating BI Reports with Formules From Oracle 10g reports
Hi Team,
I had a problem of viewing reports in Bi Publisher. I will explain what i am doing
I an taking an example table emplyee to generate the reports
create or replace package body tstPkg as
I am creating Package Header as Below
function check_role(p_sal number) return varchar2 as
v varchar2(100);
begin
if p_sal > 2000 then
v := 'MGR';
else
v := 'EXEC';
end if;
return v;
end;
and I am creating Package Body
create or replace package tstPkg as
function check_role(p_sal number) return varchar2;
end;
after creation i am generating a report by using the formulae so that in paper layout it will generate 14 pages
with an extra column in a passage format.
After this i saved it in specific folder
Then i am converting to XML by using "Reports Converter" Tool to xml.
By using ConvetionTool ioracle.apps.xdo.rdfparser.BIPBatchConversion , i converted the xml file and it generated .Pls files , template files and the rest..
After this i cpoied the folder structure into bi publisher reports, then i refreshed the metadata and i changed the defualt data source. but it showing the error as
ORA-00923: FROM keyword not found where expected
and my quetry is like this in data template
select *,EmpSal.cf_1formula(emp.SAL) CF_1 from emp
How to resolve the above problem?
Regards
Bhuvan
end;
Edited by: 867649 on Jun 22, 2011 6:38 AMHi,
When i tried to compile below packages. It gave 'Warning: Package altered with compilation errors.' message for both.
DBMS_SWRF_REPORT_INTERNAL
DBMS_SWRF_INTERNAL
Again i came back to original position. Now again all 4 objects are in INVALID state. Please advice.
Regards -
Error when creating a new Virtual Machine from VMs and Templates
I try to created a VM from a Template. On a Step 1.5 (Install VM components) and falid. This is a error:
Error (10659)
Cannot run Sysprep on virtual machine SRV2k8test because the template does not have a virtual hard disk attached that has been generalized.
Recommended Action
Specify a template that has been generalized and then try the operation again.
we expect your help.Sorry to dredge up an old topic - but got some really weird behavior.
I knew that I had to sysprep the vhdx's before bringing them into a template. I've done this (verified twice), and I still end up with the error list at the top of the thread:
Error (10659)
Cannot run Sysprep on virtual machine SRV2k8test because the template does not have a virtual hard disk attached that has been generalized.
Recommended Action
Specify a template that has been generalized and then try the operation again.
we expect your help.
I am running SCVMM 2012 R2, and things were actually running smooth as of three days ago. Templates built before then are still working and can be deployed with no problem.
However, building a new template today gives the above error when testing the deployment.
http://www.fortypoundhead.com -
Error when generating report in exe built from LV8.6
Hi all,
Using LV8.6 and report generation toolkit 1.1.3 i have one application in that i am generating report in 'word' and 'exel'. I have built that application as a EXE. in that exe i am unable to generate report. i am getting following error:
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
=========================
NI-488: Nonexistent GPIB interface.
Complete call chain:
Get LV Class Default Value.vi
NI_report.lvclass:New Report.vi
Conditionally Formatted Word Table.vi
r.vi
Regards,
Santhosh Myes i have includeed all the class and dependents but still it is giving problem i will send my code pls build the exe and run it, thentel about that...
Regards,
Santhosh M
Attachments:
Test.zip 11 KB -
Xsl transformation from version1 to version2, problem with namespaces
Guys!
In my current project we need to have an interface in Oracle ESB which is build on lets say a wsdl version1 and an interface build on wsdl version2.
In esb i need to define a transformation which will transform the request on version1 to version2. Because the xsd for the operation is really huge (+1000 items) i made some templates in xsl to do most of the work, works great..only i'm having a few issues now.
To re-order items from source to target i do the next in a template
<nameGroep>
<xsl:copy-of select="andhere the xpath from source"/>
<xsl:copy-of select="andhere the xpath from source"/>
<xsl:copy-of select="andhere the xpath from source"/>
</nameGroep>The only problem from the xsl:copy-of is, it also copies the namespace along. So if my target document uses an other namespace, it fails.
To correct this i hoped i could make use of <xsl:namespace-alias> but this doesn't work on a literal/text tag (hope i explain this correct).
Other option is, for every element do something like
[code[
<elementname>
<xsl:value-of select=""/>
</elementname>
but this will create the <elementname> always in the target whether or not it's in the source. You could do a check to see if it's in the source, but this isn't a solution because then i need to check for every 1000+ item in the source document, so..we skip this idea.
So i reach a point where im still searching for a good solution and hoped you guys could help me a bit with it.
If the problem isn't explain well please say so, and i will add extra info.Guys!
In my current project we need to have an interface in Oracle ESB which is build on lets say a wsdl version1 and an interface build on wsdl version2.
In esb i need to define a transformation which will transform the request on version1 to version2. Because the xsd for the operation is really huge (+1000 items) i made some templates in xsl to do most of the work, works great..only i'm having a few issues now.
To re-order items from source to target i do the next in a template
<nameGroep>
<xsl:copy-of select="andhere the xpath from source"/>
<xsl:copy-of select="andhere the xpath from source"/>
<xsl:copy-of select="andhere the xpath from source"/>
</nameGroep>The only problem from the xsl:copy-of is, it also copies the namespace along. So if my target document uses an other namespace, it fails.
To correct this i hoped i could make use of <xsl:namespace-alias> but this doesn't work on a literal/text tag (hope i explain this correct).
Other option is, for every element do something like
[code[
<elementname>
<xsl:value-of select=""/>
</elementname>
but this will create the <elementname> always in the target whether or not it's in the source. You could do a check to see if it's in the source, but this isn't a solution because then i need to check for every 1000+ item in the source document, so..we skip this idea.
So i reach a point where im still searching for a good solution and hoped you guys could help me a bit with it.
If the problem isn't explain well please say so, and i will add extra info. -
How to generate a new predefined PDF from certain form data?
Hi,
I want to create a form (in either Word or PDF) with diffrerent sections for people to fill out. I then want them to easily turn some of the data from the form into a new predefined PDF template.
For example, I have created a case study form for academics to complete. Then i'd like them to be able to generate an actual case study that they can distribute. The case study will be a predefined template that only needs to contain certain data from the form. Some of the sections on the form will be for internal purposes only.
How can i do this? I have Abobe Pro, but not everyone does.
Thanks
KellieThis type if thing is fairly easy to do for people who have Acrobat since the form data can be readily exported from one PDF and imported into another, but this isn't an option with Reader. There are methods you can use to easily copy data from one form to another with Reader, but it relies on JavaScript programming in both of the forms. If this sounds like something you want to pursue, post again and I can provide some guidance.
Maybe you are looking for
-
Word 2013 hangs every time I save a file
Hi, I have Word 2013 (15.0.4481.1508) on Windows 8 as part of Office Professional Plus (15.0.4481.1001) 64-bit. I'm saving to an SSD that seems to work fine. (Games load in seconds, all drive benchmarks report good performance.) Every time I save a d
-
hello gurus, can i get a solution on how to carry forward balance leave quota to the next year, if the balance is negative or positive. Am working on negative time. i went thru many threads but still confused as how to go about it. Do i need to write
-
Hello. My Nokia E5 in 3 was replaced two days ago due to irritating camera issue. Besides of its poor quality when I take photos of one colors surfaces I get strange circle of distorted colors in the middle. Could anyone tell me is it normal on this
-
Web service for CREATE_TRIP_DATA
Hello, I am very new to SAP and webservices and have an issue with getting a response from a web service I created for a simple function module BAPI_CREATE_TRIP_FROM_DATA. I am getting the following response for the SOAP request from soapUI: <soap-en
-
Is Mac OS x still secure?
More and more security companies advise us to switch to Apple. They claim that it's more secure which is a contradiction itself. Why should security companies want me to be secure? So you can conclude that Macs could have several big security issues