Error in expression: '*|/'.
Hi,
I'm pretty new in XML and was only trying to run one of the 'XML transformation using the Oracle XSLT' examples from Metalink. But I received
an Error occurred while processing xmltohtml.xsl: Error in expression: '*|/'.
where xmltohtml.xsl is the stylesheet. I can't find a solution to this so any help is welcome.
Regards, Peter
OK, first I have tried Metalink Note:119977.1
Then I have edit the xsl so that it only contains
<html>
</html>
but the same error occurs. Maybe it's a problem with the environment?
Regards, Peter
Similar Messages
-
Xslt error: the expression does not evaluate to a node-set
hi guys - i'm really down because i cannot find / understand my xsl error and i have to finish my work very very soon
the error message (by using xalan to create from the xml file my html output) is the following:
xslt error: the expression does not evaluate to a node-set
and the code fragement is:
<xsl:template name="getNext">
<xsl:param name="currentKnoten" />
<xsl:for-each select="$currentKnoten"> //error is in this line
</xsl:for-each>
</xsl:template>please... help me....ok thanks!!! this saved me some time ;-)
now i go back to the origin problem... my main idea is the following xsl code... may u can see here the problem with the node site.. but i think u need the xml file or?
however this is my relevant xsl code:
<xsl:template match="DATA">
<xsl:element name="process">
<xsl:attribute name="name">
<xsl:value-of select="@name" />
</xsl:attribute>
<xsl:apply-templates select="INSTANCE"/>
</xsl:element>
</xsl:template>
<xsl:template match="INSTANCE[@class='Data']">
<xsl:element name="node">
<xsl:attribute name="name">
<xsl:value-of select="@name" />
</xsl:attribute>
<xsl:attribute name="class">
<xsl:value-of select="@class" />
</xsl:attribute>
<xsl:call-template name="copyAttributes" />
<xsl:variable name="nextNodes">
<xsl:value-of select="key('keyGetData', key('keyFrom', @name)/../TO/@instance)" />
</xsl:variable>
<xsl:call-template name="getNext">
<xsl:with-param name="currentNode" select="$nextNodes" />
</xsl:call-template>
</xsl:element>
</xsl:template>
<xsl:template name="getNext">
<xsl:param name="currentNode"/>
<xsl:for-each select="$currentNode">
<xsl:element name="node">
<xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute>
<xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute>
<xsl:variable name="nextNodes">
<xsl:value-of select="key('keyGetData', key('keyFrom', @name)/../TO/@instance)"/>
</xsl:variable>
<xsl:call-template name="copyAttributes"/>
<xsl:call-template name="getNext">
<xsl:with-param name="currentNode" select="$nextNodes"/>
</xsl:call-template>
</xsl:element>
</xsl:for-each>
</xsl:template>
<xsl:template name="copyAttributes">
<xsl:for-each select="descendant::*">
<xsl:copy>
<xsl:copy-of select="@*|node()"/>
</xsl:copy>
</xsl:for-each>
</xsl:template>
<xsl:template match="@*|node()">
<xsl:apply-templates/>
</xsl:template> -
Problem for XSL copying XML file with Error in expression '*|/'.
Hi,
I am trying to convert xml file to another xml through command-line interface but failed.
java oracle.xml.parser.v2.oraxsl data.xml data.xsl data_new.xml
My sample xml and xsl files are:
1. XML file
<employee_data>
<employee_row>
<employee_number>7950</employee_number>
<employee_name>ABC</employee_name>
<employee_title>PRESIDENT</employee_title>
<manager>1111</manager>
<date_of_hire>20-JAN-93</date_of_hire>
<salary>65000</salary>
<commission>1000</commission>
<department_number>10</department_number>
</employee_row>
</employee_data>
2. XSL file
<?xml version="1.0" ?>
<xsl:stylesheet xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"/>
<xsl:template match="*">
<xsl:copy>
<xsl:apply-templates>
<xsl:sort select=".//employee_name"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
The error message:
Error occurred while processing data.xsl: Error in expression: '*|/'.
I used a sample XSL files copying from a XML book to do the convert but got the same error.
Does anyone know how to fix this problem? I'll appreciate it very much for your help.
Thanks.
Yiguang ZhongHi swanelvis ,
I have the same issue. Were you able to resolve this ?
Thanks -
Error 500: Expression Error: Named Object: 'EtnaMenuComponent' not found
I am migrating my JSF application from WAS 5.1 to WAS 6.1. When I start application I get this error:
Error 500: Expression Error: Named Object: 'EtnaMenuComponent' not found.
Component EtnaMenuComponent is registered and works in WAS 5.1. Help please!<b>More information:</b>
Runtime error CREATE_OBJECT_CLASS_NOT_FOUND has occurred
Message no. 00341
Diagnosis
Error texts from the batch input are not output
Only a placeholder
Appl. area 00
Message number 341
Package SDYN
Last changed by SAP
Changed on 29.09.1994 Last changed at 16:03:50
Original lang. DE German
Person respons. SAP
Short text General Basis texts -
Syntax error, unrecognized expression: [@rel=lkj2] anyone
I go to this web site http://www.nashbar.com/bikes/Product10053_10052_169804_-1_201485_10000200478 and click on the picture to zoom . a pop up box appears with this message Syntax error, unrecognized expression: [@rel=lkj2 ... this happens with firefox and safari but no problems with this site and my windows computers. why doesn't apple like this site?
Instead of
name='."'".'"+tmp+"'."'".'"
why not
echo concat(name=" +tmp+"'."'".'"
Else: [https://support.mozilla.org/en-US/kb/where-go-developer-support Where to go for developer support] -
YACAS: Error parsing expression
Hi.
i have problem with algebra system YACAS from AUR, everything expressions for exapmple 1+1, return error like this:
CommandLine(1) : Error parsing expression, near token +
What is wrong?
thanksHi,
I got the smae error on Text(Short).
Only Field Validation, this error occured when I save the record with field validation.
Default Value and Workflow is working well.
Thanks, -
Exchange 2010 Mailbox move error - Property Expression "Jim Smith" Isn't vaild - FQE=A169C2C1
I have moved 120 mailboxes from our exhange 2003 server to the new 2010 Exchange server
Only this ONE account is having this issue - we have checked the account and it seems normal - no strange formats for alias
I have Searched all over - and have found NO results for this kind of error
Have tried moving with the GUI and Shell
Here is the complete error
Error:
Property expression "Jim Smith" isn't valid. Valid values are: Strings formed with characters from A to Z (uppercase or lowercase), digits from 0 to 9, !, #, $, %, &, ', *, +, -, /, =, ?, ^, _, `, {, |, } or ~. One or more periods may be embedded in an alias, but each period should be preceded and followed by at least one of the other characters. Unicode characters from U+00A1 to U+00FF are also valid in an alias, but they will be mapped to a best-fit US-ASCII string in the e-mail address, which is generated from such an alias.
Exchange Management Shell command attempted:
'www.nerc.net/Jim Smith' | New-MoveRequest -TargetDatabase 'Database Two'
Elapsed Time: 00:00:00
FullyQualifiedErrorId - A169C2C1Hi, I found myself in the same situation.
I didn't have to use ADSIedit, I simply used the AD Users and Computers on the Exchange 2003 Server to correct the error.
Right-Click on the user whose mailbox is displaying error - Go into properties and select "EXCHANGE GENERAL" tab - modify the "ALIAS" - click Apply.
I used hyphen to bridge the space. After that all the mailboxes affected moved with any problem.
That should do it. -
Arithmetic overflow error converting expression to data type int
Hi
iam creating on sp for the database total size , used mb and free size . percentage free .
in this purpose i was creating on sps, with in the sp iam was writing one select statement . it statement is
SELECT [Drivename] ,[DataSizedUsedMB],[DriveFreeSizeMB],DriveTotalSizeMB,
CAST( (DriveFreeSizeMB/DriveTotalSizeMB)* 100 AS NUMERIC(5,2))
As
[PercentFree] ,[DateRecorded] FROM
SELECT SUBSTRING([physical_name],1,1) AS Drivename,
CAST(((SUM(COALESCE(size,0)))*8)/1024 AS NUMERIC(20,2)) AS DriveTotalSizeMB,
CAST(((SUM( COALESCE( FILEPROPERTY( [name],'SpaceUsed'),0)))*8)/1024 AS NUMERIC(20,2)) AS DataSizedUsedMB,
CAST(((SUM(COALESCE(size,0))-SUM(COALESCE(fileproperty([name],'spaceused'),0)))*8/1024)AS NUMERIC(20,2)) AS DriveFreeSizeMB
,SYSDATETIME() AS [DateRecorded]
FROM sys.master_files
GROUP BY SUBSTRING([physical_name],1,1)) AS Data
it was executive one server with out error but the same select statement is writing antoher server iam geeting belo error.
"@ErrorDesc: Line 24 - Line 13- Arithmetic overflow error converting expression to data type int."
how to slove this issue..
please help me...Change 8 to 8E0, to make it a float literal. The data type of
SUM(COALESCE(size,0)))*8)
is int, since all components are int, and it can easily overflow the size for an int. If you use 8E0, you get a float, and the entire expression will be float.
Erland Sommarskog, SQL Server MVP, [email protected] -
Arithmetic overflow error converting expression to data type int. Why in this case?
Hi guys, it is Friday and I am really tired but..
WITH CTE AS (
SELECT LEN(CONS_ID) AS PROCA FROM TryCons)
SELECT SUM(PROCA) FROM CTE
Why I retrieve
Arithmetic overflow error converting expression to data type int.
Len should returns a number and so sum should work. It can be because I am trying to read 500 millions rows? But it wouldn't make sense..Len should returns a number and so sum should work. It can be because I am trying to read 500 millions rows? But it wouldn't make sense..
If the average length of the field exceeds 4.29, that statement will explode. Since I don't know what's in CONS_ID, I can't say whether it makes sense or not. Although, I will have to say that from my uninitiated position, this seems like an
accident to happen.
Erland Sommarskog, SQL Server MVP, [email protected] -
Error on Expression Query - java.sql.SQLException: DSRA9420E
We are getting the below error when we execute an Expression query. Other queries seem to be working fine.
Has anyone seen this error?
Any help or suggestions are welcome.
Thanks
ERROR -
java.sql.SQLException: DSRA9420E: Connection cannot be reassociated because child objects are still open.
at com.ibm.ws.rsadapter.AdapterUtil.toSQLException(AdapterUtil.java:1376)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.reactivate(WSJdbcConnection.java:2201)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:2070)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:2039)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1295)
at oracle.toplink.queryframework.SQLCall.prepareStatement(SQLCall.java:185)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:635)
at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:506)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:134)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:115)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelectCall(CallQueryMechanism.java:197)
at oracle.toplink.internal.queryframework.CallQueryMechanism.selectAllRows(CallQueryMechanism.java:567)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:732)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:707)
at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:447)
Edited by: amehta5 on Apr 12, 2012 12:13 PMIt seems like your connection pool is having issues. How have you configured your connections?
It seems that WebSphere connection pool is performing some sort of statement cache, and the cache statement it is trying to use is still in use. -
Error 1200471: Expression Expected Before [)]
I am trying to create a calc script that converts published capacities from english to metric units, and round the result to the nearest multiple of 5. I have entered the following fix and when I use it the formula verifies, but the calculation does not give me the expected (correct) conversion. I was going to try to replace all @remainders with @mod to see if this improves the calculation, but when I do I get *error # 1200471- Error compiling formula for [SBU] (line 4): expression expected before [)]*. I am hoping to receive some guideance on resolving this error.
//ESS_LOCALE English_UnitedStates.Latin1@Binary
Fix ("Published Capacities",@relative("Units of Measure",0))
"SBU"(
IF (@MOD(("MMLBS"/2.2046)/5)>3)
"KMT"=("MMLBS"/2.2046) - @remainder(("MMLBS"/2.2046)/5)+5;
Else
"KMT"=("MMLBS"/2.2046) - @remainder(("MMLBS"/2.2046)/5);
ENDIF;)
CALC DIM ("SBU");
ENDFIX
Thanks,
C-LoI will try this line of thinking out. However, I don't think the math in the statement is quite what I am trying to achieve. I am ultimately trying to recreate Microsoft Excel's function MROUND. This function takes a number and rounds it to the nearest multiple that the user defines.
My understanding of essbase's @ROUND is that this function rounds the expression to a specified number of digits. I am less concerned with the number of digits. I am trying to get a number like 123 to round to 125, or 122 to round to 120. Here is the description from the user guide for @ROUND:
@ROUND
Rounds expression to numDigits.
Syntax
@ROUND (expression,numDigits)
Parameter Description
expression Single member specification, variable name, or other numeric expression.
184 Calculation Functions
Parameter Description
numDigits Single member specification, variable name, or other numeric expression that provides an integer value. If
numDigits is 0 or a positive number, expression is rounded to the number of decimal places specified by
numDigits. If numDigits is a negative value, expression is rounded to the nearest 10 to the power of the
absolute value of numDigits. For example:
@ROUND 1234, -2) = 1200
The default value for numDigits is 0.
Thanks,
C-Lo -
Query with error "Missing Expression"
Hi
I have written a query but it returns the following error:
ORA-00936: missing expression
The code is as below:
SELECT
ENUM_AT_ABSENCE_REASON_CODE.absence_type AS "VALUE",
ENUM_AT_ABSENCE_REASON_CODE.absence_type AS "LABEL",
'2'AS "SORTORDER"
FROM ENUM_AT_ABSENCE_REASON_CODE
WHERE
ENUM_AT_ABSENCE_REASON_CODE.DISTRICT_NUMBER = ('1000')
AND
ENUM_AT_ABSENCE_REASON_CODE.SCHOOL_ID IN ('705')
AND
AND SY_SCHOOL_TRACK.SCHOOL_YEAR = '2006'
ORDER BY SORTORDER,LABELI am not sure how to correct the error. Any help is gratefully acknowledged.Thanks in advance.You have two ANDs together. Kind of leaps out when you format the query ;)
-
I used an expression operator in a mapping to convert a date into MM/YYYY, I used function to_char(date,'MM/YYYY') but I got an error not a valid month, has any one idea how to resolve this problem?
thank youhi,
even when I put sysdate I got the same error
I tried to execute the generate code in sql plus and it works but when I execute the mapping I got this error and it is stopped at the experssion operator.
Please have you any idea what can be the problem? -
When releasing PO error occured Express Document " Update Terminated"
hi all
i am getting a strange problem ,
while doing release of PO(purchase order) by t.code ME29N, i am able to release and SAVE it properly with out any error.
But when returning back to ME22N t.code to see that PO .
i am getting this error :
Note : - this error is coming for a particular TYPE of PO's and with
in that TYPE all PO are not giving ERROR,
Please tell me what can be reason,
Express Document "Update Terminated"
Runtime Error POSTING_ILLEGAL_STATEMENT
Occurred on 15.07.2008 at 11:03:24
Statement "CALL DIALOG" is not allowed in this form.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLSTXW " had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
Information on where terminated
The termination occurred in the ABAP program "SAPLSTXW " in "DISPLAY_OTF".
The main program was "RSM13000 ".
The termination occurred in line 82 of the source code of the (Include)
program "LSTXWU02 "
of the source code of program "LSTXWU02 " (when calling the editor 820).
The program "SAPLSTXW " was started in the update system.
000710
000720 if ( sy-binpt = false and
000730 ( ( cl_gui_object=>www_active = true or
000740 itcpp-tdscreen = 'ITS' ) or
000750 ( cl_gui_object=>javabean = true and
000760 itcpp-tdscabap = false ) ) ).
000770
000780 perform cc_display_pdf.
000790
000800 else.
000810
> call dialog 'DISPLAY_OTF' "ABAP-List-Preview
000830 exporting otf itcpp 0
000840 importing itcpp.
000850
000860 endif.
shall i concern this with BASIS person , coz every PO not having this problem,
i think it is related to time taken by SERVER for UPDATE is more then this error comes .
OR is there any technical issue related to ABAP.
regards
sachinThis problem will be caused by an output which will be triggered when releasing the PO. Check the messages in the PO for which one is causing the update error.
Regards,
John. -
Epson Photo Stylus RX600 - Communication Error Airport Express
I have an Airport Extreme as my primary router and I have connected two Airport Express boxes as range extenders. On one of them, I have connected the Epson Photo Stylus RX600 printer. When I go to the Airport Express Utilities, I can clearly see that the printer is connected fine. However, when I ping the printer I am getting a Communication Error. I cannot print anything. Can someone lead me to an old post that could help in connecting the printer. I'd love to be able to wirelessly print via my home network
FSanaulla wrote:
when I ping the printer I am getting a Communication Error.
You can't "ping" that printer in the Internet sense, as it doesn't have a network interface.
Did you use the "Print & Fax" panel of System Preferences to try to add that printer? It should appear under the "Default" view.
Here's some additional advice from Apple:
http://support.apple.com/kb/HT3771
Maybe you are looking for
-
Itunes not opening after closing
I installed iTunes 6 and after the installing and agreements and all that stuff, it was open. I was glad cuz I had to go through some steps first to get it to even show up. Everyone is having problems with this and personally it's starting to **** me
-
How do I recover my hp mini net book 110 to factory settings?
-
ESB(Enterprise Services Builder) access error after PI 7.1 install
We have installed PI 7.1 system. Everything went well with installation. We can access all the components such as RWB, Directory, SLD,... However when we try to access ESB(Enterprise Services Builder) we are geting the following error: "Cannot connec
-
What's your RECALL status?
Hi, guys. Let's post here only 3 things: 1. Where you live. 2. The successful procedures you followed to get your battery replaced. 3. The updated status of your recall / Expected date of Arrival. This way, we can follow the delivery of batteries and
-
Wondering if allowing my creative cloud single app membership to renew automatically will lock me into another 1 year term. Please advise. Thank you in advance!