XML Problem

when submitting the report it show the following error
while I am using the Fnd_Standard_Date parameter in Concurrent Programme
and date parameter in my report is dd/mon/yyyy hh:mi:ss whil I have try the Parameter with DD-MON-RRRR but the error is same
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A name contained an invalid character. Error processing resource 'http://..../OA_CGI/FNDWRR.exe?...
<EMPLOYEE HIREDATE>
Edited by: user12044538 on Sep 13, 2011 5:12 AM
Edited by: user12044538 on Sep 13, 2011 6:19 AM
Edited by: user12044538 on Sep 13, 2011 6:20 AM
Edited by: user12044538 on Sep 13, 2011 6:30 AM

Please post the details of the application release, database version and OS.
Can you find any details about the error in the OPP log file?
Please see if these docs help.
XML reports not working : invalid character was found in text content. [ID 1052898.1]
Unable To Create Xml Output Because Of Invalid Character [ID 369943.1]
Show Text Type Attachment Data With Chinese Characters In XML Format [ID 427886.1]
Thanks,
Hussein

Similar Messages

  • IOError in IE but not in Firefox (possible crossdomain.xml problem)

    Yesterday, I hopefully debugged a problem that is occuring for our application in IE but not in Firefox.
    It has to do with accessing remote content from a separate domain.
    In every aspect it APPEARS to be a crossdomain.xml issue but the fact that this issue only arrises in IE is what has prompted me to post here.
    We have a solution in the works (bureaucratically speaking) but I want to double check here.
    Our application is on domain "a.domain".
    It access an xml file on "b.domain/xml/".
    And finally (this is the tricky part) it also accesses an xml file at "b.domain/forwardingPath/" which is actually forwarded to "c.domain/xml/".
    The crossdomain.xml is located at "b.domain/crossdomain.xml".
    The request for "b.domain/xml/anXMLFile.xml" works without any problem.
    The request for "b.domain/forwardingPath/anotherXMLFile.xml" succeeds in Firefox but not in IE (remember, the ACTUAL request is forwarded to "c.domain/xml/anotherXMLFile.xml").
    In IE I get an IOError.
    I believe we need an appropriate crossdomain.xml file also located at "c.domain/crossdomain.xml" and have put in that request.  What I want to confirm is whether this understanding is correct.  I am not a server-side person at all.  It's all elves and fairies to me.  And then finally, why the hell is this behavior inconsistent between IE and Firefox?  Is the Firefox version of flash player violating its own security standards?!
    I am cross-posting this at stack overflow.  http://stackoverflow.com/questions/7395931/ioerror-in-ie-but-not-in-firefox-possible-cross domain-xml-problem

    I've pinged our developers about this and here's what they have to say:
    "We did some work for the plugin around redirects andhence the correct behavior on Firefox.
    AFAIK, on IE we don't get notified of the redirect and can't participate in making security decisions during redirect scenarios. This behavior is out of our control.
    There is a workaround documented in the AS3docs here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/LoaderCont ext.html#checkPolicyFile
    Here is the pertinent paragraph:
    Be careful with checkPolicyFile if you are downloading anobject from a URL that may use server-side HTTP redirects. Policy files arealways retrieved from the corresponding initial URL that you specify inURLRequest.url. If the final object comes from a different URL because of HTTPredirects, then the initially downloaded policy files might not be applicableto the object's final URL, which is the URL that matters in security decisions.If you find yourself in this situation, you can examine the value ofLoaderInfo.url after you have received a ProgressEvent.PROGRESS orEvent.COMPLETE event, which tells you the object's final URL. Then call theSecurity.loadPolicyFile() method with a policy file URL based on the object'sfinal URL. Then poll the value of LoaderInfo.childAllowsParent until it becomes true."
    Chris

  • Web.xml problem in Enterprise Manager 10g

    I got an error while deploying to Enterprise Manager 10g
    My platform: Windows XP
    OC4J 9.0.4
    Enterprise Manager 10g
    And I even have the web.xml in the correct directory. i.e
    cpd.ear
    ./META-INF/application.xml
    ./cpd-ejb.jar/WEB-INF/web.xml
    ./cpd-webapp.war/WEB-INF/web.xml
    ./cpd-webapp.war/WEB-INF/classes
    The error I get while deploying on a Enterprise Manager 10g is:
    Invalid J2EE application file specified - Jar file: :\WINNT\TEMP\jar47575.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
    Incidently the *.ear file built by my fellow's machine is deploying perfectly. I've compared the directories n useful files of both the *.ears down to the very last bit n they are the same.
    I can imagine that guys with only high IQ can solve this mystery

    The above message is a duplicate of another message by Sim.
    web.xml problem in Enterprise Manager 10g

  • Log-Configuration.xml Problems

    Hi, I have been trying to use log-configuration.xml but it seems like i cannot get it to work at all.
    From what i understand, once i deploy my application, i should be able to edit the config via the Visual Administrator. However, after i deploy my app, i am still unable to see it with visual administrator. furthermore, i cannot find the file anywhere on the sever. Also, my settings are not reflected in the behaviour of the defaultTrace.
    Am i suppose to be able to find the "log-configuration.xml" file in the server if i have done the correct steps? If so, what are the likely mistakes i have made? I am at my wits end, anyone can help me?
    Just to add, this post seems to describe exactly my situation except i have no idea how to "manually" correct it... log-configuration.xml outside META-INF due to NWDS
    TIA!
    Ah Beng
    Message was edited by: ah beng

    Hi Rajeshkr,
    Sorry, i am kinda new to web dynpro and sap in general so i may need you to be more explicit
    I am not quite sure what this part means or how to check "...has been deployed successfully in the deploy node of the visual Node and check for the Log Configuratior Node and check for your deployed application...."
    What i did do is go to the server to and search the entire directory structure for the log-configuration.xml but could not find it. Also, the config cannot be seen via the log-configurator in visual administration engine which its supposed too i think. and lastly the behavoiur i set in the log-configuration.xml is not reflected in the defaultTrace
    Then i saw this post so i went to check the EAR file in my workspace and found that it was just like Manik described.
    Maybe u could check this link where i posted more about my problem Log-Configuration.xml Problems
    I would love to award points if it helps

  • XML Problem - Markup not well-formed? (kinda long)

    Hello, I'm working on my first AIR app and I've run into a bit of a snag.  The app is intended to allow users of our system to create a Word document, save it as XML, and then load it into the AIR app and have some manipulation performed to extract data, and finally store the data in a database.  The reasons for this app to exist are pretty irrelevant for the particular problem that I'm having, but a little background on my development efforts might help shed light on my situation, and with luck one of you might be able to help me figure this out.
    I started on this app using the URLLoader and URLRequest objects to load a Word document saved as XML from a server.  This worked fine, I created logic to distinguish between Word 2007 and Word 2003 XML formats and using the E4X XML and XMLList objects I was able to load that XML into an XML object, change it to a string, grab the document body, strip out namespaces and such (formatting is mostly irrelevant here too, only the actual data is of importance) amd eventually get a much simpler XML object or list that contained just the data relevant to the purpose at hand.  This was all working fine, I managed to get both Word XML formats to process as I wished and spit out new XML that will serve as the basis for another application that we run.  Great! 
    The problem was that in order to use this method in a distributed way I needed to have the original Word documents accessible to the code, which meant having the user upload their Word file (saved as XML) and then retrieving it with the URLLoader and URLRequest.  I actually implemented this method using the FileReference object in AS3 and using some simple PHP code to store the file in a server directory that was accessible to the client.  Unfortunately, this lead me to thinking about the security issues involved and how allowing PHP to write to a directory would open it to potential malicious attacks, yada yada yada, you all know the issues.  So I thought that I might be able to read the file before uploading it in the kind of circular logic that sometimes happens.  When I started into the AS3 docs to check on classes to help, I realized that my initial suspicions were correct and that in order to load and read the file locally, I could use AIR, have the user load up their XML file, process it and then send the resulting XML and info to the database directly (eliminating the need to send files to the server AND preventing the need to allow PHP to write to the server in this instance).
    So after a bit of reading and testing, I managed to modify my FLA to publish an AIR file, and started debugging.  My Word 2007 document worked fine - I create a File object and a FileStream object and they are easily able to access the file the user selects via the File.browseForOpen method.  I then run the processing code, which begins by creating an XML object from the data read from the file.  What's happening now is that while the Word 2007 document loads and processes without an issue, the Word 2003 document is causing a 1088 error: The markup in the document following the root element must be well-formed.
    I don't understand why this is happening since the same document in the same format was able to be loaded into an XML object when I used the URLLoader to grab the file.  The only thing I can conclude is that somehow the FileStream.readUTFBytes() method is somehow causing an issue.  I am able to trace out what is being read, but the file is lengthy and I haven't completed my analysis to see if and where the changes are occuring.
    If anyone has any experience with this type of situation, I'd really appreciate hearing about it.  Thanks in advance for any help you can provide.

    OK, it turns out that for some reason the Word 2003 XML document was being read with an extra character preceding the actual markup.  By dumping the stream into a string and then clipping the first character I was able to get the app running again.  Thanks for taking the time to read this thread! 

  • Conversion of FMB to XML problem

    Forms [32 Bit] Version 9.0.4.0.19 (Production)
    I am in the middle of a conversion project where we are converting fmb files to xml, making the required changes to the xml files using a conversion program, and then converting them back to fmb. When compiling the the fmb files, I noticed that there were compilation errors in a few of the forms. Checking original xml code for one of the forms that did not compile, it did not contain the trigger text for one of my post-change triggers. The block actually contains two items with the same identical post-change trigger. Only the trigger text for one of the items is written. The following shows the trigger for the "RECEIVED_TODAY" written properly, but the next item with the identical trigger does not have the trigger text:
    <Item Name="RECEIVED_TODAY" FontName="Arial" .... MaximumLength="10">
    <Trigger Name="POST-CHANGE"
    TriggerText=":in_po_detail.qty_received :=
    :in_po_detail.qty_received + nvl(:in_po_detail.received_today,0);
    &#10; &#10;get_due;" DirtyInfo="true" />
    </Item>
    <Item Name="RETURNED_TODAY" FontName="Arial" .... MaximumLength="10">
    <Trigger Name="POST-CHANGE" DirtyInfo="true" />
    </Item>
    If I delete and re-create the trigger for the item that is not written, it will write the corresponding xml out properly.
    Does anyone know why this is happening?

    Peter,
    sound strange and my guess is that this should be looked at by customer support. Is the Forms module originally build in Forms 9.0.4 or is it upgraded from a previous version of Forms?
    I found bug 2923866 that reports a similar case where the trigger was subclassed from a form or library. In this case the trigger text wasn't in the XML output and showed only if created in the Forms. Not sure if this is the same problem you are facing.
    Frank

  • Report with subreports. Web Service/XML problem. Please help!

    Hi,
    I have a composite report (main report with 9 subreports). The report uses web service as datasorce and is provided with single xml file containing the schema and all the tables for the main reports and its subreports.
    The problem I encounter is that i have to establish a connection for each subreport in order to get it work and it is the same connection. Moreover, I have observed that each time a subreport is drilled there is distinct call to the web service.
    So, i end up having a single .rpt file which makes up to 10 unnecessary calls over http just get the same xml data ???
    I've tried everything to solve this problem without any success.
    Option 1: Removing subreports. Not posible because main report can not handle multiple detail section separately.
    Option 2: Using multiple detail section in main report and conditionally suppress rows. Not possible
    Option 3: Removing datasource from subreports and pass array variables instead. Not posible
    Option 4: Remove subreports and use crosstabs in main report. Not posible
    Any ideas?
    Please I would greatly appreciate any input, I am getting quite desperate about this.
    Thank you very much.

    Subreports make their own data connection, the reason why subreports are used for other data sources.
    Post to the Report Design forum to help on redesigning the report

  • VAT declaration in XML - Problem with report RFASLDPC

    Hello all,
    I have a problem with the report RFASLDPC. We use it to download an XML file that we generated which contains the VAT declaration.
    In the report RFASDLPC, there is a FORM named QUELLFILE_PRUEFEN which stop the report and display a message : "Data file FILE_NAME is not correct".
    The reason is that QUELLFILE_PRUEFEN checks (for Belgium) that the beginning of my document starts with '000000' (six times zero). But this is impossible for an XML file to begin with '000000'. An XML file must begin with "<?xml version="1.0" ?>" or a least "<".
    Here is the code :
    FORM QUELLFILE_PRUEFEN.
      OPEN DATASET PAR_PATH FOR INPUT IN BINARY MODE.
      IF SY-SUBRC NE 0.
        MESSAGE E306 WITH PAR_PATH.        ''Quellfile nicht vorhanden
      ENDIF.
      READ DATASET PAR_PATH INTO HLP_RECORD.
      CASE PAR_FTYP.
        WHEN 'AT'.                         ''ASL Österreich
          IF HLP_RECORD(1) NE 'I' OR HLP_RECORD+46(2) NE 'ZM'.
            MESSAGE A185(FR) WITH PAR_PATH.
          ENDIF.
        WHEN 'BE'.                         ''ASL Belgien
          IF HLP_RECORD(6) NE '000000'.
            MESSAGE A185(FR) WITH PAR_PATH.
          ENDIF.
        WHEN 'ES'.                         ''ASL Spanien
    *     IF HLP_RECORD(1) NE '1' OR HLP_RECORD+104(3) NE '349'.
          IF HLP_RECORD(1) NE '1' OR HLP_RECORD+1(3) NE '349'.
            MESSAGE A185(FR) WITH PAR_PATH.
          ENDIF.
        when 'FI'.
          if hlp_record(3) ne '000'.
            MESSAGE A185(FR) WITH PAR_PATH.
          ENDIF.
      ENDCASE.
      CLOSE DATASET PAR_PATH.
    The line :
    READ DATASET PAR_PATH INTO HLP_RECORD.
    Put the 128 first character of the XML file in HLP_RECORD because HLP_RECORD is defined as :
    HLP_RECORD(128) TYPE C
    So as I work in Belgium, it is the condition :
    WHEN 'BE'.                         ''ASL Belgien
          IF HLP_RECORD(6) NE '000000'.
            MESSAGE A185(FR) WITH PAR_PATH.
          ENDIF.
    which is checked. But this condition cleary check if the beginning of the XML is '000000' and if it is not, it stop the program.
    I searched for all the SAP notes about RFASLDPC but I found none about this problem.
    Did someone else have also this problem ? Did you find a way to solve this ?
    Thank you in advance for your help.
    Best Regards.
    Gregory Pierre.

    anyone has an idea ? ...

  • XML Problem: I can't open my Word 2007 docx file (Start/Endtag Problem) - Fixit doesn`t work

    Hi there,
    I have a big problem and I hope there is somebody who could repair my Word-Document (or at least save the text somehow).
    After my flash drive crashed, I used a data restoring software and managed to get back this important Word-File, but now I can't open it ((Start/Endtag Error)
    The Fixit solution of Microsoft didn't work. I read about fixing the problem with an XML-Editor, but I have no experience with that.
    The most important thing would be just the text. It would be fantastic if someone could restore this work (which took me nearly two weeks).
    I uploaded the docx and the xml file here:
    http://www.file-upload.net/download-8602999/Studienarbeit_-_Anw._Fallstudienseminar_-_Robert_Fromm_-_32874.docx.html
    http://www.file-upload.net/download-8603008/document.xml.html
    Thanks a lot in advance! You would save me a lot of time.
    greetings Robert

    Hi,
    I had download the file ,but your second link was invalid. I tested to open it, and got the error message:"The name in the end tag of the element must match the element type in the start tag."
    This issue is related strictly to oMath tags and occurs when a graphical object or text box is anchored to the same paragraph that contains the equation.
    Please try to fix it with the KB:
    http://support.microsoft.com/kb/2528942/en-us
    Here is a similar issue:
    http://answers.microsoft.com/en-us/office/forum/office_2010-word/cant-open-word-file-because-of-end-tagstart-tag/581159d0-9ebc-4522-b30c-53e33e8268e1
    Regards,
    George Zhao
    TechNet Community Support

  • XML problem with getPayload

    Hi,
    I have come across an obscure but annoying xml bug in the bpel (collaxa?) implementation. I need to use xs:extension elements in the schema for the payload contents, which then of course requires a declaration of the xsi namespace. The payload is saved fine, and when I view the contents in the bpelconsole, it is there (as shown below). However, when I get the task and call getPayload, the xsi declaration is missing from the element, which then crashes JAXB.
    This is what is shown in the BPELConsole audit:
    <payload>
      <process-request xmlns="urn:ch.bedag.pef.iflow.process" user="ea91" process-name="Wohnadresse">
        <person xmlns="urn:ch.bedag.pef.iflow.core">
          <angestellter>
            <anstellung/>
            <wohnadresse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:AdresseSchweiz">
              <adresszusatz>c/o Bedag Informatik</adresszusatz>
              <strasse>Gutenbergstrasse 1</strasse>
              <ort>Bern</ort>
              <plz>
                <plz>3000</plz>
              </plz>
            </wohnadresse>
          </angestellter>
          <name>Prince</name>
          <personalnummer>
            <personalnummer>111111</personalnummer>
          </personalnummer>
          <vorname>John</vorname>
        </person>
      </process-request>
    </payload>And this is what I get when I call getPayload:
    <process-request xmlns="urn:ch.bedag.pef.iflow.process" user="ea91" process-name="Wohnadresse">
      <person xmlns="urn:ch.bedag.pef.iflow.core">
        <angestellter>
          <anstellung/>
          <wohnadresse type="ns1:AdresseSchweiz">
            <adresszusatz>c/o Bedag Informatik</adresszusatz>
            <strasse>Gutenbergstrasse 1</strasse>
            <ort>Bern</ort>
            <plz>
              <plz>3000</plz>
            </plz>
          </wohnadresse>
        </angestellter>
        <name>Prince</name>
        <personalnummer>
          <personalnummer>111111</personalnummer>
        </personalnummer>
        <vorname>John</vorname>
      </person>
    </process-request>The only difference is in the wohnadresse element, which has the correct xsi:type attribute, but the xsi: namespace declaration is missing.
    Any chance of fixing this? Otherwise I will have to convert the payload to a string, fix the problem, back to xml and then pass it off to jaxb. Very irritating...
    I don't know if it will help, but I did see the same problem when I tried converting a string to xml using a DOMResult and a Transformer. I switched to DOMParser and and InputSource and the problem went away.
    Thanks
    John

    Hi
    After a lot of experimenting, it looks like there are two problems:
    1. If I call IDeliveryService.post with a NormalizedMessage constructed with a String, bpel is not completely reliable with the namespaces (it converts them all to default namespaces defined on particular elements, but it missed the namespace within the xsi:type declaration). I fixed this by using DOMUtil to convert the string to a CubeDOMElement, which is then correctly converted to the input variable.
    2. The CubeDOMElement also makes mistakes if you use Element.getElementsByTagNameNS(ns, name). Even when all the information was there, the method removed one of the namespace declarations (actually a duplicate, but necessary because the prefix was used in the document).
    I got round this by calling the CubeDOMElement method getContentAsXml, which bizarrely returns the full xml of the child nodes, with all namespaces correctly defined and used, and then converting the xml string into a normal org.w3c.Element.
    It looks like a few more test cases are needed for the collaxa xml implementation...
    Best wishes
    John

  • Distribution.xml problem in 10g reports...

    Hi freinds,
    Iam generalizing the distrubution.xml file for emailing from the report. It looks like this.
    <destinations>
    <mail id= "mail_id" to= "&amp;&lt;P_recipient_email&gt;" cc= "&amp;&lt;P_cc_email&gt;" bcc= "&amp;&lt;P_bcc_email&gt;"
    from= "&amp;&lt;P_sender_email&gt;" subject= "&amp;&lt;P_mail_subject&gt;">
         <body srcType="text">
    "&amp;&lt;P_mail_body&gt;"
         </body>
         <attach format= "&amp;&lt;P_format&gt;" name= "&amp;&lt;P_attachment_name&gt;" srcType="report">
         <include src="report"/>
         </attach>
    </mail>
    </destinations>
    I have 3 problems.
    1) When I pass dynamic value for "format" attribute it is giving following error :
    REP-34304: 7
    NMToken must contain atleast one NMChar.
    REP-34304: Distribution failed to complete, please review the distribution lists
    How Can I pass a dynamic value for "format" attribute in the < attachment > tag ?
    2) When I pass dynamic value for "attachment name" attribute it is giving following error :
    REP-34308: Invalid reference parameter 'P_attachment_name' in distribution list
    How Can I pass a dynamic value for "name" attribute in the < attachment > tag ?
    3) I want to pass the body text dynamically from the report. So Iam passing P_mail_body parameter from the report
    and referencing in the distribution.xml file like this, "&amp;&lt;P_mail_body&gt;".
    But it is not printing the p_mail_body variable value.
    It is printing "&<P_mail_body>" in the body of the email.
    How to pass dynamic body text from the report into distrubution.xml file ?
    Plese help me.
    Thanks alot.

    Hi all,
    first of all I would recommend not to use &, < and > inside the xml-definition. Use instead of
    &<ename>
    the following coding
    &amp;&lt;ename&gt;
    This is because Reports and XML have a overlapped using of these signs.
    1: no anser, sorry for that
    2: I've testet with
    name="Department &amp;&lt;deptno&gt;.pdf"
    which works fine
    3: You can build your dynamic body for example in the header of the report and reference them in the distribution file. Then your XML-File looks like
    <body srcType="report" format="html">
    <include src="headerSection"/>
    </body>
    For the Header you had to use the same "Repeat On" Property Value than for your Report Body, if you use advanced bursting.
    Hope that helps
    Rainer

  • Projector and xml problem

    This is the problem :
    I've got 2 projectors.
    1- start.exe // Gives the user language choice.
    2- main.exe // main movie in the language choose by user.
    I've got xml image gallery in the main.exe , if i use
    start.exe to open main.exe the xml doesn't show up at all.
    But if i start main.exe directly, well what do you know, it
    appears without any problem.
    I really don't why it doesn't work. Any idea ?
    Thanks,

    >>if i use start.exe to open main.exe the xml doesn't
    show up at all. But
    >>if i start main.exe directly, well what do you know,
    it appears without
    >>any problem. I really don't why it doesn't work. Any
    idea ?
    Pretty much has to be that you are referencing _root in your
    main file. When
    you load main into start, the _root is now start, not main.
    Solution: Don't
    use _root... Set a var and use that.
    In main:
    var me:MovieClip = this;
    And use that everywhere you used _root.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Upgrading to J2SE 1.4.2-beta causes XML problems

    I upgraded to 1.4.2-beta and now portlets in Jetspeed display the following error:
    problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xalan}content-handler' property!
    This did not happen with 1.4.1. Is there some workaround without dropping back to 1.4.1?
    Please also refer to Apache/Jakarta Jetspeed Bug 21131 for discussion of the impact.
    I have tried moving xalan and xerces jars into $JAVA_HOME/jre/lib/endorsed without success.
    I think that the XML parser should be removed from the JDK. This is causing a great deal of impact. With a XML parser included in the JDK there is no way to override it on an application by application level. You can only override it on a JVM or Servlet container level. This is not satisfactory.
    -1 on including an XML parser in JDK.
    Gerry Reno

    I too have this problem when deploying my webapp to Tomcat 4.06. I never had problems with 1.4.0!

  • XML problem with one set of  url tags

    I have all my pages for my site on my xml map and have it successfully submitted to google webmster. All but one link, which google never recognizes for some reason. It is a strange little problem. The following is an example of how I have it written and it works for every page except for my login page!
    <url>
    <loc> http://www.myfaithworks.me/ </loc>
    <changefreq>monthly</changefreq>
    <priority>1.0</priority>
    </url>
    <url>
    <loc> http://www.myfaithworks.me/apps/auth/login?try=1&next= </loc>
    <changefreq>monthly</changefreq>
    <priority>1.0</priority>
    </url>
    Refering to the latter, the bottom tags are the problem, google will not allow me to submit for some reason. I think the problem is within the link, but this is the actual link. I don't knw what to do. I knw the tags have no error, and all my other pages have been accepted without any errors.

    Try this, it is possible that the error is because of '&' or '?'. Having a CDATA will ensure that the server will not try to parse those but instead treat them as text/characters.
    <url>
    <loc><![CDATA[http://www.myfaithworks.me/apps/auth/login?try=1&next=]]></loc>
    <changefreq>monthly</changefreq>
    <priority>1.0</priority>
    </url>

  • XML Problems Oracle9i Enterprise Edition Release 9.2.0.7.0

    Can anyone help me with my problem!
    I am trying to import xml file into xmltype table (this is working fine), but then I want to extract data from this xmltype table but I get null from my request.
    Please I need help. I have tried some examples and it is working, so I think that I am doing something wrong or the file that I have imported is not O.K.
    Pleeeeeease help me.
    I have this XML file:
    <?xml version="1.0" ?>
    <TecKomBS xmlns="http://www.bsi.si" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bsi.si http://www.bsi.si/_data/tecajnice/TecKomBS.xsd">
    <tecajnica datum="2007-01-17" veljavnost="2007-01-18">
    <tecaj oznaka="GBP" sifra="826">
    <nakupni>0.65784</nakupni>
    <prodajni>0.65586</prodajni>
    </tecaj>
    <tecaj oznaka="CZK" sifra="203">
    <nakupni>27.910</nakupni>
    <prodajni>27.826</prodajni>
    </tecaj>
    <tecaj oznaka="NOK" sifra="578">
    <nakupni>8.3605</nakupni>
    <prodajni>8.3355</prodajni>
    </tecaj>
    </tecajnica>
    </TecKomBS>
    I have loaded this file into xmltype table:
    CREATE TABLE xml_tab (
    id NUMBER(10),
    filename VARCHAR2(100),
    xml XMLTYPE)
    For loading I have uset load_xml procedure that I've got from help file.
    And it works fine. So I have xmltype table with xml data.
    Now I need to get data from this table and I have tried this:
    SQL> select extract(xml, '/TecKomBS/tecajnica') neki from xml_tab;
    NEKI()
    SQL>
    (and I get nothing)
    and this
    SQL> select value(p)
    2 from xml_tab x
    3 , table(XMLSequence(
    4 extract(x.xml, '/TecKomBS/tecajnica/tecaj'))) p;
    no rows selected
    SQL>
    (and I got nothing)
    I would like to get data from "tecaj (sifra)" and data from "nakupni" or "prodajni" ?
    Can any one tell me what I am doing wrong, thanks?
    For help this is strusture file for xml file, if it helps
    <?xml version="1.0" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.bsi.si" xmlns="http://www.bsi.si" elementFormDefault="qualified">
    <xsd:simpleType name="Tsif">
    <xsd:restriction base="xsd:string">
    <xsd:length value="3" />
    <xsd:pattern value="\d{3}" />
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="Tozn">
    <xsd:restriction base="xsd:string">
    <xsd:length value="3" />
    <xsd:pattern value="[A-Z]{3}" />
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:element name="TecKomBS">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="tecajnica" minOccurs="1" maxOccurs="1">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="tecaj" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="nakupni" type="xsd:decimal" />
    <xsd:element name="prodajni" type="xsd:decimal" />
    </xsd:sequence>
    <xsd:attribute name="oznaka" type="Tozn" use="required" />
    <xsd:attribute name="sifra" type="Tsif" use="required" />
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="datum" type="xsd:date" use="required" />
    <xsd:attribute name="veljavnost" type="xsd:date" use="required" />
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I think that the problem is with my XPath, can anyone help me with this example ?
    THANKS .....
    Message was edited by:
    user448268

    SQL>
    SQL> var xmltext varchar2(4000)
    SQL> --
    SQL> begin
      2    :xmltext :=
      3  '<?xml version="1.0" encoding="UTF-8"?>
      4  <TecKomBS xmlns="http://www.bsi.si" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bsi.si http://www.bsi.si
    /_data/tecajnice/TecKomBS.xsd">
      5     <tecajnica datum="2007-01-17" veljavnost="2007-01-18">
      6             <tecaj oznaka="GBP" sifra="826">
      7                     <nakupni>0.65784</nakupni>
      8                     <prodajni>0.65586</prodajni>
      9             </tecaj>
    10             <tecaj oznaka="CZK" sifra="203">
    11                     <nakupni>27.910</nakupni>
    12                     <prodajni>27.826</prodajni>
    13             </tecaj>
    14             <tecaj oznaka="NOK" sifra="578">
    15                     <nakupni>8.3605</nakupni>
    16                     <prodajni>8.3355</prodajni>
    17             </tecaj>
    18     </tecajnica>
    19  </TecKomBS>';
    20  end;
    21  /
    PL/SQL procedure successfully completed.
    SQL> column SIFRA format a20
    SQL> column NAKUPNI format a20
    SQL> column PRODAJNI format a20
    SQL> --
    SQL> select extractValue(value(t),'/tecaj/@sifra','xmlns="http://www.bsi.si" ') SIFRA,
      2         extractValue(value(t),'/tecaj/nakupni','xmlns="http://www.bsi.si" ') NAKUPNI,
      3         extractValue(value(t),'/tecaj/prodajni','xmlns="http://www.bsi.si" ') PRODAJNI
      4    from table(xmlsequence(extract(xmltype(:xmltext),'/TecKomBS/tecajnica/tecaj','xmlns="http://www.bsi.si" '))) t
      5  /
    SIFRA                NAKUPNI              PRODAJNI
    826                  0.65784              0.65586
    203                  27.910               27.826
    578                  8.3605               8.3355
    SQL>
    SQL>
    SQL>
    SQL

  • Assign Statement using EDI 850 XML Problem - No BPEL Process Instantion

    I am currently experiencing the following problem: I receive an EDI 850 message via AQ, and then when I try to copy one of the segments in the message
    to a temporary variable, my BPEL process instantiation never shows up in the BPEL console display, nor does it error out anywhere where I can see.
    Note: if I take out this assign activity, the BPEL process instantiation does show in the console, and does complete.
    Can someone tell me where to look inside of the BPEL engine for any error information and perhaps explain why this situation happens in the first place. Also, if anyone can tell me if my syntax below for the extraction is correct, that would also be great.
    Arthur (203-921-5925)
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://www.edifecs.com/xdata/100"
    schemaLocation="850.xsd" />
    </schema>
    </types>
    <message name="Header_msg">
    <part name="Header" element="tns:Header"/>
    </message>
    <message name="Transaction-850_msg">
    <part name="Transaction-850" element="imp1:Transaction-850"/>
    </message>
    <variable name="Variable_1" element="ns3:Segment-CTT"/>
    <variable name="Receive_PO_Dequeue_InputVariable"
    messageType="ns1:Transaction-850_msg"/>
    <sequence name="main">
    <receive name="Receive_PO" partnerLink="X12_4010_850_PO_DEQ"
    portType="ns1:Dequeue_ptt" operation="Dequeue"
    variable="Receive_PO_Dequeue_InputVariable" createInstance="yes"
    bpelx:headerVariable="Variable_Receive_X12_4010_850_PO_Hdr"/>
    <assign name="abc_test_assign">
    <copy>
    <from expression="bpws:getVariableData('Receive_PO_Dequeue_InputVariable',
    'Transaction-850','/ns3:Transaction-850/ns3:Loop-CTT/ns3:Segment-CTT')"/>
    <to variable="Variable_1"/>
    </copy>
    </assign>

    Hi Arthur,
    Please verify the namespace in the xml instance matches the xsd used in BPEL. In many cases, the data cannot be copied/transformed successfully if there is a mismatch in namespace.
    Eng

Maybe you are looking for