Validating parser ignoring start tag?
Hello
There appears to be a discrepency between what (I think a) validating parser (SAXParser) should do and what it's doing. An echo program using the following DTD
<?xml version='1.0' encoding='utf-8'?>
<!-- Document Type Definition for the AList.xml -->
<!ELEMENT AList (ASet+) >
<!ELEMENT ASet (B+) >
<!ATTLIST ASet name CDATA #REQUIRED >
<!ELEMENT B (C, D) >
<!ATTLIST B name CDATA #REQUIRED >
<!ELEMENT C EMPTY >
<!ATTLIST C type (x | y | z) #REQUIRED >
<!ELEMENT D EMPTY >
<!ATTLIST D value CDATA #REQUIRED >and the xml file
<?xml version='1.0' encoding='utf-8'?>
<!-- Copyright Lori A. Cook. 2000-2004 -->
<!-- All rights reserved. -->
<!DOCTYPE AList SYSTEM "AList.dtd" >
<AList>
<ASet name="test">
<B name="testb">
<C type="x" />
<D value="abc" />
</B>
</ASet>
</AList>produces the following output when the "ASet" tag is removed or commented out
START DOCUMENT
<?xml version='1.0' encoding='UTF-8'?>
ELEMENT: <AList>
ELEMENT: <B ATTR: name "testb" >
ELEMENT: <C ATTR: type "x" >
END_ELM: </>
ELEMENT: <D ATTR: value "abc" >
END_ELM: </>
END_ELM: </>When the ASet tag is missing or commented out the parser throws a SAXParseException about 'The element type "AList" must be terminated by the matching end-tag "</AList>"'. Since this is a validating parser why doesn't it throw an error upon not seeing ASet?
(inquiring minds want to know)
Lori <*>
To do a validation check validate with
<?xml version='1.0' encoding='utf-8'?> <!-- Copyright Lori A. Cook. 2000-2004 --><!-- All rights reserved. --><!DOCTYPE AList SYSTEM "AList.dtd" ><AList> <ASet name="test"><ASet> <B name="testb"> <C type="x" /> <D value="abc" /> </B></ASet> </ASet></AList>
thanks,
Deepak
Similar Messages
-
Encountering error End tag does not match start tag 'group'
Hi guys,
am a newbee to XML Publisher.
I am encountering the below error:
Creating XDO Report at: Wed May 25 16:38:14 GMT+05:30 2011
sql = select 'TEST' from dual;
description = Learning XML Reporting
port = 1561
user = apps
host = e2dscorhrmdba01.cendant.com
sid = ABGHRDEV
ReportParameters = {}
path = D:\lanosrep\XML\Output\FirstXMLReport
data_source_name = ABGHRDEV
name = FirstXMLReport
oracle.xml.parser.v2.XMLParseException: End tag does not match start tag 'group'.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:205)
at oracle.xml.parser.v2.XMLReader.popXMLReader(XMLReader.java:516)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1242)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
at oracle.apps.xdo.dataengine.DataProcessor.getSQLSchema(DataProcessor.java:528)
at oracle.apps.xdo.dataengine.DataProcessor.writeXMLSchema(DataProcessor.java:476)
at CreateXDOReport.createXDOReport(CreateXDOReport.java:164)
at CreateXDOReport.process(CreateXDOReport.java:108)
at CreateXDOReport.main(CreateXDOReport.java:298)
I have tried reinstalling the patch but of no use.
Please guide me.I changed the sql query
select 'TEST' from dual;
to select 'TEST' from dual
It is working fine now :) -
SQL CASE statement in XML template- End tag does not match start tag 'group
Hi All,
I am developing a report that has the SQL CASE statement in the query. I am trying to load this into RTF with report wizard and it gives me below error
oracle.xml.parser.v2.XMLParseException: End tag does not match start tag 'group'
Does XML publisher support CASE statement?
My query is something like this
SELECT customercode,
SUM(CASE WHEN invoicedate >= current date - 30 days
THEN balanceforward ELSE 0 END) AS "0-30",
SUM(CASE WHEN invoicedate BETWEEN current date - 60 days
AND current date - 31 days
THEN balanceforward ELSE 0 END) AS "31-60",
SUM(CASE WHEN invoicedate < current date - 60 days
THEN balanceforward ELSE 0 END) AS "61>",
SUM(balanceforward) AS total_outstanding
FROM MyTable
GROUP BY customercode
ORDER BY total_outstanding DESC
Please advice if the CASE statement or the double quotes are causing this error
Thanks,
PPI got this to work in the XML but the data is returning zeros for all the case statements. When I run this in toad I get results for all the case conditions but when ran in XML the data displayed is all zeros. I am not sure what I am missing. Can someone shed some light on this please
Thanks!
PP -
Error in parsing the taglib tag in the JSP page
Hi
We are trying to deploy and run a Web Application in CE 7.1 SP01. We are successful in deploying and running servlet based web pages, but when it comes to JSP's the taglibs are not parsed and we get the following error message
Runtime error in processing of the JSP file E:\usr\sap\CE1\J01\j2ee\cluster\apps\sap.com\TestNWEAR\servlet_jsp\TestNW\root\admin\main.jsp.
The error is: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: Error in parsing the taglib tag in the JSP page. Cannot resolve URI: [webwork]. Possible reason - validation failed. Check if your TLD is valid against its scheme.02004C4F4F5000190000004E000013400191D308B45
Processing HTTP request to servlet [jsp] finished with error.
The error is: java.io.FileNotFoundException: E:\usr\sap\CE1\J01\j2ee\cluster\apps\sap.com\TestNWEAR\servlet_jsp\TestNW\root\admin\webwork (The system cannot find the file specified)02004C4F4F50001900000051000013400191D308B45AF1AB
We followed the below weblog to correct the TLD's in JAVA EE 5 @ SAP but it did not work for us.
/people/community.user/blog/2006/10/13/porting-the-java-blueprint-solutions-catalogue-applications-to-sap-netweaver-application-server-java-ee-5-edition
Any immediate help will be rewarded with full points
Thanks in advance
Lakshmi
Edited by: lakshmi N Munnungi on May 5, 2008 11:36 PM
Edited by: lakshmi N Munnungi on May 5, 2008 11:39 PMHi Lakshmi,
I have also the same problem. If you have found the solution please post it thanks,
Thanks,
Tariq -
JAVA mapping using SAX parser adds extra tags
Hi,
We are using java mapping using a SAX parser.It works well in standalone application ie it parses correctly and gets our desired xml structure and the xml is well formed too but when we import it in XI as a jar file it does not throw any errors but adds extra start tags, as a result the output xml is not well formed.XI is adding extra start tags.
If any one else has faced a similar situation please help.
Regards,
Anirban.Hi Roberto,
Thank you for the response.
As I said, it doesnt throw any error. It is working perfectly in standalone application. But when we deploy it to XI Server, it is not forming the well formed XML. We too are puzzled by this situation.
Okay, i will explain my scenario here.
The following is my input XML to the java pgm..
<Header>
</Header>
<Body>
</Body>
<SubBody1>
</SubBody1>
<SubBody2>
</SubBody2>
<SubBody3>
</SubBody3>
<SubBody4>
</SubBody4>
<Trail>
</Trail>
The desired output is
<Header>
<Body>
<NameChanged1>
<NameChanged2>
<SubBody3>
<SubBody4>
</SubBody4>
</SubBody3>
</NameChanged2>
</NameChanged1>
<Trail>
</Trail>
Just look at the SubBody2 and SubBody1 node, its tag name has been changed in the output XML. Thats y i have decided to use java mapping instead of message mapping.
I have developed the code for everything, i.e for changing the tag name and for forming the nested xml and it is working fine as a standalone application. But while deploying it to XI, the output is not well formed. I dont know the reason for it. Even I have checked the cardinality of the output Data types, that I have created. Its perfectly okay with all.
Any Ideas???
Regards,
Anirban -
Error: "LPX-00240: element-start tag is not well formed"
Hello all,
i'm getting this error parsing a XML file:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00240: element-start tag is not well formed*
Error at line 18
What could be the issue in this case ???
i'm running out of tryings and options for this solution....
thank you all
---------------------- XML FILE -----------------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<FormList>
<Form name="SERVIDOES_REGLA_BASE" table="IVBAM.ANA_SERV_PEDIDOSPARECER" idfield="ID">
<FormField name="ID" label="ID" datatype="LONG" type="TEXTFIELD" readonly="true" visible="false" mandatory="false" saveable="true" lovemtpy="false" multiselect="false"/>
</Form>
<Form name="PEDIDO_PARECER_UPDATE" table="IVBAM.ANA_SERV_PEDIDOPARECER" idfield="ID" help="sdfsf sdf sdf 4 43 43 3 4534 54 " usesession="true" geometryfield="GEOMETRY">
<FormAction name="FORM_ACTION_01" function="2" help="true"><param name="CONFIRM" value="YES_NO" title="confirmar ??????"/>
<param name="LALLALA" value="dddd" title="ddddd"/>
</FormAction>
line 18: <FormField name="NUM_ENTRADA" label="Número de entrada" datatype="STRING" type="TEXTFIELD" visible="false" mandatory="false" saveable="false" lov="Sim,Não" lovemtpy="false" maxlength="50" multiselect="false" />
</Form>
</FormList>
-------------------------------------------------------------------<?xml version="1.0" encoding="iso-8859-1"?>
<FormList>
<Form name="SERVIDOES_REGLA_BASE" table="IVBAM.ANA_SERV_PEDIDOSPARECER" idfield="ID">
<FormField name="ID" label="ID" datatype="LONG" type="TEXTFIELD" readonly="true" visible="false" mandatory="false" saveable="true" lovemtpy="false" multiselect="false"/>
</Form>
<Form name="PEDIDO_PARECER_UPDATE" table="IVBAM.ANA_SERV_PEDIDOPARECER" idfield="ID" help="sdfsf sdf sdf 4 43 43 3 4534 54 " usesession="true" geometryfield="GEOMETRY">
<FormAction name="FORM_ACTION_01" function="2" help="true"><param name="CONFIRM" value="YES_NO" title="confirmar ??????"/>
<param name="LALLALA" value="dddd" title="ddddd"/>
</FormAction>
line 18: <FormField name="NUM_ENTRADA" label="Número de entrada" datatype="STRING" type="TEXTFIELD" visible="false" mandatory="false" saveable="false" lov="Sim,Não" lovemtpy="false" maxlength="50" multiselect="false" />
</Form>
</FormList> -
My application gives "Error in parsing taglib 'tagLib' tag in web.xml "
Hi ,
My Portal application developed completely on JSP Dynpages and JSPs gives <b>at times</b> the following error
"Error in parsing taglib 'tagLib' tag in web.xml or .tld file of the taglib library.."
I know that this error comes when the taglib declared in the jsp and portalapp.xml doesn't match. But I have made sure that they are the same.
Can anyone give me an opinion as to why this problem is occuring inspite of making sure that the taglib declaration are same in jsp and portalapp.xml.
Is the problem on the server side??
Valuable suggestions would be rewarded!!
-Thanks
Padmarajan.Hi Anagha,
No the application is accessed using an http link.
I am unable to make out why this error comes up only once in a while and when you refresh the screen it starts working fine.
This is my big issue because when
-Thanks
Padmarajan. -
XML Parsing Error: mismatched tag. Expected: /img .
Hi All,
I need help to solve a problem, I created a data model consist of multiple tables, the query is working fine with parameters.
My question is, i created a parameter called JOB and checked the Multiple selection. when i run, it throw the below error
XML Parsing Error: mismatched tag. Expected: </img>.
Location: http://admin.abc.com:9704/xmlpserver/servlet/xdo
Line Number 2, Column 580
:<table style='background=color: #d9e5ef; margin-top: 10px;' width='100%' cellspacing='0' cellpadding='0' border='0' summary=''><tbody><tr><td class='error_dialog_header-start'></td><td class='error_dialog_header'></td><td class='error_dialog_header-end'></td></tr><tr><td class='error_dialog_content-start'></td><td class='error_dialog_content'><div><div style='margin: 4px 0 2px;'><span><img height='18px' border='0' alt='' src='/xmlpserver/cabo/images/swan/errorl.gif'/></span><span><img src='/xmlpserver/resource/blafplus/generic/spacer.gif' width='5px' height='1px' alt=''></span><span class='errorMessage'>Error</span></div><div style='margin: 4px 0 2px;' class='statusText'>The data model cannot be executed because of an error, please contact the administrator.</div><div style='margin: 8px 10px 2px;' class='statusText'><a class='dataLink' href='#' onclick="javascript:document.getElementById('errordetail').style.display='block';return false;">Error Detail</a></div></div></td><td class='error_dialog_content-end'></td></tr><tr><td class='error_dialog_footer-start'></td><td class='error_dialog_footer'></td><td class='error_dialog_footer-end'></td></tr></tbody></table><div class='errorMessage' id='errordetail' style='display: none; margin-top: 10px;'>oracle.xdo.XDOException: oracle.xdo.XDOException: oracle.xdo.XDOException: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended
can any one help me to solve the problem.
ThanksHi,
What was your image path or URL?
Have you tried to find the source without the tag?
Upload the XML file to review it.
Regards,
Liviu -
GRC: Negative ack; PI: End tag 'enviNFe' does not match the start tag 'NFe'
Bom dia SAP Boosters!
Como muita gente estou aqui brigando com o GRC NFe. Esse forum tem resolvido meus problemas, até agora. Por isso inicio um novo tópico pois estou tendo o seguite problema que nao encontrei resposta:
O grc e o pi estao em servidores separados. Do lado do grc, na sxmb_moni mostra para a interface BATCH_nfeRecepcaoLote_OB erro no acknowledgement status. abrindo o item error do ack msg id aparece:
<SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="BPE_ADAPTER">NEGATIVE_ACKNOWLEDGEMENT</SAP:Code>
<SAP:P1></SAP:P1>
<SAP:P2></SAP:P2>
<SAP:P3></SAP:P3>
<SAP:P4></SAP:P4>
<SAP:AdditionalText></SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace=""></SAP:ApplicationFaultMessage>
<SAP:Stack>Negative acknowledgment triggered by a process</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
No lado do PI, ao consultar esta interface e abrir o payload do item Request Message Mapping, aparece a mensagem de erro: End tag 'n0:enviNFe' does not match the start tag 'NFe'. e todo o xml fica em uma linha só.
Voltei entao no xml do sender e de fato encontrei a tag NFe, onde deveria constar os dados das notas fiscais, sendo aberta mas nao sendo fechada, e sem dados, desse jeito.
<?xml version="1.0" encoding="utf-8" ?>
- <n0:nfeRecepcaoLote2 xmlns:n0="http://sap.com/xi/NFE/006">
<n0:cUF>35</n0:cUF>
<n0:tpEmis>1</n0:tpEmis>
<n0:tpAmb>2</n0:tpAmb>
- <n0:nfeDadosMsg>
- <n0:enviNFe versao="2.00" xmlns:n0="http://www.portalfiscal.inf.br/nfe">
<n0:idLote>000000000000025</n0:idLote>
<n0:NFe asx:root="" xmlns:asx="http://www.sap.com/abapxml"></n0:NFe>
</n0:enviNFe>
</n0:nfeDadosMsg>
</n0:nfeRecepcaoLote2>
Alguém já viu esse bug? estou com grc 10 e SP 08 e das notas que sairam depois nenhuma fala disso.
Obrigado.Fiz um teste que parou de dar erro de acknowledgement e chegou a enviar o lote para a sefaz, que retornou erro de schema porque o xml continua vazio:
Na interface determination gerada quando criei o cenário NFE_BATCH_WebAS_Outbound_Batch, a que contém a interface BATCH_nfeRecepcaoLote_OB, tirei o operation mapping BATCH_nfeRecepcaoLote2_TO_nfeRecepcaoLote2. Embora não seja mais retornada a mensagem de erro na tag, o payload continua no mesmo formato postado acima. Entao coloquei de volta.
Bem, pesquisando vi que a função que gera o xml é a /XNFE/006_SIGN_NFE_OUT. As notas aparecem como assinadas no monitor do grc, mas vou ter que ver entao como esta ocorrendo a geraçao do xml por esta funçao, certo? -
Error message end tag and start tags dont match when publishing to flickr from lightroom 5.3
I have had an ongoing problem that lightroom publishing to flickr times out frequently when uploading many photos. However, for about the last week or two weeks i have been getting a different error message:
Error message: “Can’t update this collection. An internal error has occurred: End tag ‘body’ does not match the start tag ‘hr’.
Windows 7 system.
I set up a photoset in lightroom (have tried both smart and regular photosets with same results). These photosets can contain anywhere from 16 to 3000 or more photos. The first photos are uploaded – maybe 10, maybe 100, maybe 1000. Then it generally seems to stop working. Sometimes I can continue publishing new photos or republishing, sometimes I cant. For example I currently have 11 flickr publish photosets in one lightroom catalog, with the following success numbers:
NAHCR00 total 3044, published: 1851
NAHCR01 total 748,published: all
NAHCR03 total: 532 published: all
NAHCR04 total: 412 published: all
NAHCR05 total: 340 published: 152
NAHCR07 total: 248 published: 50
NAHCR08 total: 524 published: 197
NAHCR09 total: 44 published: all
NAHCR10 total: 40 published: all
NAHCR11 total: 32 published: all
NAHCR12 total: 124 published: 4
I have succeeded in uploading over 28000 pictures from flickr (mostly from three other lightroom catalogs to several flickr account, both paid and free). The other catalogs marks the photosets as public and generally seems to be more successful at uploading.
All of these problem photosets are marked as private so that only I can see them. The photos themselves have peculiar names including many special characters including chinese characters, arabic alphabets, spaces, commas, exclamation marks etc etc. I tried telling lightroom to rename the files to names with no special characters but it still fails.
I emailed Flickr with the above information and this was their response:
Thank you for contacting Yahoo Flickr.
I would first like to apologize for any inconvenience you have experienced while attempting to upload photos to your Flickr account.
First, Lightroom is a 3rd-party application; we can't offer any support for it. Please contact the developer of that application for help.
With that said, please note that there's a known issue with Avast's Web Shield and AVG antivirus that causes issues with uploads. If you have either of these applications, disable the "Link Scanner", add Uploadr to the exceptions list, and then try to upload. If the issue persists, temporarily turn off the anti-virus / firewall and try to upload again.
Please also see the following article on Flickr's upload limitations:
Flickr upload limitations
Lastly, here are some general troubleshooting steps that you can try:
Most connection issues arise due to a problem between your computer and Flickr and are often temporary. Try the following:
Briefly power off any broadband modems and routers to reset the network connection.
If you connect wirelessly, move your computer closer to the wireless access point, or 'plug in'.
If you're connected through a router, try plugging directly into the broadband modem.
See your manual for configuration options if the router is slowing or blocking uploads.
Also, try lowering your # or matching it to your ISP's value.
Additional troubleshooting
Try uploading with an alternate method:The web upload page, the Uploadr app, or upload by email.
If you're using an older version of Uploadr, update to the latest version.
Search our forums to see if there are any specific network hardware incompatibilities.
I realize that this isn't a satisfying response to your request, and I am sorry for that. Please let me know if I may be of further assistance, or if you have any questions or concerns.
Thank you again for contacting Yahoo Flickr.
Regards,
Elliot
Yahoo Customer CareI had the same problen with Lightroom 5 - Prepares the files but won't Upload to Blurb. Tried numerours times. It is a Landscape size Book 132 Pages. There is a BUG in Lightroom and here is how I got it to work:
Check each slide and make sure APPLY BACKGROUND GLOBALLY, GRAPHIC or BACKGROUND COLOR and not checked,. If so Uncheck them.
Go to EDIT and SELECT ALL Slides in the Book.
Select Apply Background Globally - turn it off and on several times, then leave it off
Select GRAPHIC - turn it off and then turn it on and off several times
Select BACKGROUND COLOR - turn it on then off then on then off
I ended up with APPLY GLOBALLY unchecked for Every Page.
GRAPHIC was turned on with a Graphic set at 12% Opacity on every Page
Again check each page first for these Checkmarks or just fix exverything with SELECT ALL.
Background Color was Turned off.
NOW UPLOAD THE BOOK - It took a couple hours but it uploaded without a hitch., I turned off all Firewalls and Plugged directly into the Router. I am using an IMac 27" with 32 GB of memory and this is the only way it would work. The Mac is about 7 days old and Lightroom 5 is also 7 days old. BUGGIEST piece of software I have ever used.
Note - one of the above steps fixes the BUG - I am not sure which one but one will fix your book. It finally uploaded to BLURB today. It took a few hours though. -
Creating chart leads in XML Parsing Error: mismatched tag. Expected: /svg
Hello ALL,
I searched this forum but unfortunately I find not a solution for the following use case:
described in steps
1.) create a region with chart (typ = line) -> o.k.
2.) create a sql statement to have data in the chart -> o.k.
3.) running report with this created region and chart -> vizualisation o.k.
3.) create a data picker item ":P21_END_DATE"
4.) replaced the where clause "WHERE a_timestamp >= To_date ('01.02.2007', 'dd/mm/yyyy HH24:MI') -1/24" with WHERE a_timestamp >= To_date (:P21_END_DATE, 'dd/mm/yyyy HH24:MI') -1/24
5.) running report with this created region and chart and data picker item -> vizualisation not o.k. I get the attached error message.
I read already in the forum and knows that the end tag of the svg section is lost put I only changed in my query the described value. Does any body can help me please ??
king regards
XML Parsing Error: mismatched tag. Expected: </svg>.
Location: http://localhost:7777/pls/htmldb/f?p=103:9:8795066316806762442:FLOW_SVG_CHART_R2476324075306576_de
Line Number 22, Column 1455:</style><script xlink:href="/i/javascript/svg_js_includes/svg_common/oracle.svgInit.js"/><script xlink:href="/i/javascript/svg_js_includes/svg_common/oracle.svgNodes.js"/><script type="text/ecmascript"><![CDATA[function svgSync(){window.reload();}function htmldb_Load(){try{oracleSvgInit(evt);throw "old version" }catch(er){}}]]></script><rect id="background" x="1" y="1" width="1022" height="398"/><text x="20" y="20" class="title">Chart 1</text><text id="XAxisTitle" x="50%" y="390">Minute</text><text id="YAxisTitle" x="15" style="writing-mode:lr;" y="200" transform="rotate(-90,15,200)" text-anchor="middle">Messages</text><g id="legend" transform="translate(0,25)"><rect class="legend" x="1" y="0" width="1022" height="60"/><g class="legenditem" transform="translate(20,18)"><line x1="0" y1="-5" x2="-15" y2="-5" class="data1"/><text class="legend" y="0" x="2">ALL</text></g><g class="legenditem" transform="translate(20,36)"><line x1="0" y1="-5" x2="-15" y2="-5" class="data2"/><text class="legend" y="0" x="2">SMS</text></g><g class="legenditem" transform="translate(20,54)"><line x1="0" y1="-5" x2="-15" y2="-5" class="data3"/><text class="legend" y="0" x="2">LL</text></g></g><svg width="1024" height="400" viewBox="-5 -5 1024 400" preserveAspectRatio="none"> <text class="nodatafound" x="40" y="20">No data found.</text><text class="nodatafound" x="40" y="20">no data found</text><text class="nodatafound" x="40" y="20">no data found</text></g></svg><g id="infobubble" transform="translate(0,0)" style="visibility:hidden"><rect id="infobackground" rx="2" ry="2" x="0" y="0" width="100" height="20" fill-opacity=".9" fill="#FFFFFF" stroke="#000000" stroke-width="1"/><text id="infotext" x="5" y="12">-</text></g><!-- USER FOOTER--></svg>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^I found the solution:
No data resulting to the query !! -
How to add a validator to a custom tag
Hello,
I would like to know how to add a validator to my custom tag as an attribute.
<mytags:custom validator=???/>
Thanks.
SebastienAre you wanting to use one of the JSF validators or a home brewed one?
-
Flash Chart Error "A Start-tag was not matched with an end-tag."
All of the Flash charts on a page started displaying the error "A Start-tag was not matched with an end-tag." The charts were all working prefectly and no changes were made to the page. Any thoughts?
Thanks.Here is what I get when I click Show XML in debug mode. Thanks.
<?xml version="1.0" ?>
- <root>
- <styles>
<style type="background" id="background" background_type="solid" color="0xffffff" alpha="0" />
<style type="deal_background" id="dealBackground" enabled="yes" color="0xdddddd" alpha="100" />
<style type="deal_border" id="dealBorder" enabled="yes" thickness="1" color="0x666666" alpha="100" />
<style type="deal_position" id="dealPosition" left="146" top="169.1707317" />
<style type="deal_size" id="dealSize" startAngle="0" endAngle="180" innerRadius="0" outerRadius="109.5" />
<style type="indicator_background" id="indicatorBackground" enabled="yes" color="0x000000" alpha="100" />
<style type="indicator_border" id="indicatorBorder" enabled="yes" color="0xFFFFFF" thickness="1" alpha="0" />
<style type="scale_size" id="scaleSize" length="7.3" />
<style type="scale_position" id="scalePosition" radius="102.2" />
<style type="scale_lines" id="scaleLines" enabled="yes" thickness="1" color="0x000000" alpha="100" />
<style type="scale_labels_position" id="scaleLabelsPosition" radius="109.5" />
<style type="scale_labels_background" id="scaleLabelsBackground" enabled="no" />
<style type="scale_labels_border" id="scaleLabelsBorder" enabled="no" color="0x000000" />
<style type="scale_labels_text" id="scaleLabelsText" font="Verdana" size="10" color="0x000000" bold="no" italic="no" underline="no" align="right" />
<style type="scale_labels_size" id="scaleLabelsSize" />
<style id="areaBackground0" type="area_background" enabled="yes" color="0x669999" alpha="100" />
<style id="areaBackground1" type="area_background" enabled="yes" color="0xCCCCCC" alpha="100" />
<style id="areaBorder" type="area_border" enabled="yes" thickness="1" color="0xFFFFFF" alpha="100" />
<style id="areaBorder0" type="area_border" enabled="yes" thickness="1" color="0x666666" alpha="100" />
<style id="areaSize" type="area_size" outerRadius="105.85" innerRadius="36.5" />
<style type="circle_object_border" id="dotBorder" enabled="no" />
<style type="circle_object_position" id="dotPosition" left="146" top="169.1707317" />
<style type="circle_object_size" id="dotSize" radius="7.3" />
<style type="circle_object_background" id="dotBackground" enabled="yes" color="0x000000" alpha="100" />
<style id="emptyBorder" enabled="no" />
</styles>
- <shapes>
- <shape id="indicatorShape" type="polygon">
<point x="0" y="-4" />
<point x="-97.82" y="0" />
<point x="0" y="4" />
<point x="0" y="-4" />
</shape>
</shapes>
- <objects>
<circle sizeStyleId="dotSize" positionStyleId="dotPosition" backgroundStyleId="dotBackground" borderStyleId="dotBorder" />
</objects>
- <data>
<deal minimum="0" maximum="100" sizeStyleId="dealSize" positionStyleId="dealPosition" backgroundStyleId="dealBackground" borderStyleId="dealBorder" />
- <areas>
<area startValue="1" endValue="99" backgroundStyleId="areaBackground1" borderStyleId="areaBorder" sizeStyleId="areaSize" />
</areas>
- <scales>
<scale startAngle="0" endAngle="180" angleStep="18" labelsPrefix="" labelsPostfix="%" decimalPlaces="0" sizeStyleId="scaleSize" positionStyleId="scalePosition" linesStyleId="scaleLines" labelPositionStyleId="scaleLabelsPosition" labelBackgroundStyleId="scaleLabelsBackground" labelBorderStyleId="scaleLabelsBorder" labelTextStyleId="scaleLabelsText" labelSizeStyleId="scaleLabelsSize" />
</scales>
<indicator value="51.7412935" backgroundStyleId="indicatorBackground" borderStyleId="indicatorBorder" shapeId="indicatorShape" />
</data>
</root> -
URGENT start tag needs to be generated in xml output
I am getting the xml output as below
since my value for each element is empty doesn't generate the start tag. BUT I NEED START TAG also to be created with this xml file. What property need to specify while generating it thro' Transformer and TransformerFactory. Please help me
<?xml version="1.0" encoding="UTF-8"?>
<address>
<addressID/>
<streetNumber/>
<addressLine1/>
<addressLine2/>
<addressLine3/>
<city/>
<zipCode/>
<lastUpdatedUserID/>
<deletedFlag/>
<phoneNumber/>
<country/>
<state/>
</address>I don't quite understand your question. You want to have the start tag of each element outputed or you want one root element start tag to be outputed?
If it's the first case, try separating start and end tags from your elements instead of having them combined, i.e. do the following:
replace
<addressLine1/>by
]<addressLine1>
</addressLine1>I don't know if this is the answer you expect, reply if not. -
Error in parsing taglib 'customtag' tag in web.xml or .tld file of the tagl
Hi
While execution Portal application, I am getting error," Error in parsing taglib 'customtag' tag in web.xml or .tld file of the taglib library."
Complete stack is
>>#1.5 #005056AE006400690000002000000A440004BA8F3ECB004A#1331024303056#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#M1005000#6994##99593FD6676911E1807500000041A352#99593fd6676911e1807500000041a352-0#99593fd6676911e1807500000041a352#SAPEngine_Application_Thread[impl:3]_31##0#0#Error##Java###02:28_06/03/12_0020_4301650
[EXCEPTION]
#1#com.sapportals.portal.prt.servlets_jsp.server.jsp.ParseException: Error in parsing taglib 'customtag' tag in web.xml or .tld file of the taglib library.
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.JspTaglibDirective.verifyAttributes(JspTaglibDirective.java:189)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.JspDirective.parse0(JspDirective.java:162)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.JspDirective.parse(JspDirective.java:117)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.ElementCollection.parse(ElementCollection.java:86)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.ParserImpl.parse(ParserImpl.java:595)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2170)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:434)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Regards
PratyushHi,
See the following guide and make sure to carefully follow all instructions.
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40599e45-8cf9-2910-cbaa-d4cd8e15ff34?QuickLink=index&overridelayout=true&14770392545262]
Regards,
Alex
Maybe you are looking for
-
Question about the property of the nested class.
"Nested classes may be declared static. In this case, the nested class has no reference to an enclosing instance" Can any one demonstrate the above through an code example?? thanks
-
Routing condition in receiver determination
Hi, In my RFC to JMS scenario, i encountered with a strange routing condition for the receiver determination. I have routing condition like " string length (one field in Bapi)<1" . Could any one help me how to implement this? Regards, Vishnu.
-
Hotmail Password Incorrect - nothing works! dang it!
Hi, Looking for help after updating an iPod to iTunes 10.5. Hotmail email account no longer works. I have deleted the email account on the iPod and tried to re-establish the Hotmail account in the Add Account section using 3 methods: Microsoft Exch
-
Custom Function in a Sequence Not Working
Hi All, We have defined a Custom Function and it has got a class (ZCL_IP_DERIVE_XXX_XXXX). Further, in the IF_RSPLFA_SRVTYPE_IMP_EXEC_REF~EXECUTE method of this class, we have defined a logic of appying a new Index (Sales Curve) and the forecast valu
-
Call Managuer Express 10.(x) and CP-8831
In the mean time I have to install a CCME (C2911 w/ version 10) in a remote branch with several conference ip-phones CP-8831 on the local LAN that after some months, has to be w/ under/migrated the center Call Managuer. I have check on CCW (to ord