Error code XML file
When I use a custom error file xxx-errors.txt.How do I get the general error handler to choose the codes from this specific file?
I am not clear on what tells the vi to use this file.
Thanks
Jim
Still a bit lost
If I had two error file File1.errors.txt and File2.errors.txt both in the user lib.
File 1 defines error code 5000 as a general fault
File 2 defines error code 5000 as communications lost
I want the VI to use the error code from file 2 "Communications lost"
How does labview know which file I wan't to use.
Thanks
Jim
Similar Messages
-
"Error retrieving xml file from database"
Hello All,
I have installed and configured planning with Shared services. While I try to create an instance in Configuration Utility by entering the Instance Name, Host Name, Port (8300) and Click "Next", I get this error -
*"System failure:Error retrieving xml file from database".*
My RDBMS is - SQL Server 2005
OS - Windows 2003 Server
I am unable to work on planning for few months due to this error.. I would sincerely appreciate if someone can provide me a solution for this..
Thanks much,
Varma.Hi,
Ive seen this before.
If this is a new environment could you create a blank database and configure it as your System database? Then try again and you should be fine.
I think you may have some invalid entries in your sys database.
Seb
www.taysols.com.au -
Error code; original file could not be found, would you like to locate it?
when i try to transfer songs from my library to my ipod shuffle, i get this error message (error code; original file could not be found, would you like to locate it?). Then an exclamation point(!) in the first column it appears next to the song in the library.
When i go to the folder mymusic/itunes/itunesmusic folder, the song is there, but why is there an exclamation point next to the song in the library? And how do I restore all these songs, and what causes this?Sounds like your iTunes .ITL library file got corrupted.
What are the iTunes library files?
There are some posts around here by Buegie on how to fix that... -
I have a new 2 month old(Aug 2014) hp eliteone 800 all in one computer running win 8.1 64bit. i have two 1 tb hard drives raid configuration. left computer on for an afternoon and when I came back it was off mysteriously. tried to turn on and it
attempted to repair and was never able to repair. hp sent a new windows 8 software to install, they said os was corrupt. installed three times now i get error code: 0xc0000001 file: \windows\system32\winload.efi missing or contains errors. hp said installation
disc probably corrupt and sent me another. installed twice with same result, error code: 0xc0000001 file: \windows\system32\winload.efi missing or contains errors. This began after the computer was just one month old and after i had placed 300-400
gb of my personal data from other computers on it. I need all of these files so can't just recover/delete all of the files on the computer, although i have read that that may be my only solution? If i do recover will the files still be on the second hard drive??
can you help with this problem?? thanks.Hi Richard,
Did you try to repair or reinstall the system when you insert the new media?
Have you tried to carry out a system recovery, which will restore your system back to factory defaults and how was the result?
In addition, I suggest you use the new installation media to do a clean install(full format the old system).
How to perform a clean installation of Windows
http://windows.microsoft.com/en-IN/windows-8/clean-install
Note: If you have important personal data, remember to insert your drive into another computer to backup your personal data before you do any operation.
Karen Hu
TechNet Community Support -
Like the topic - "Yosemite is awful- unable to empty trash, volume options are haywire, error codes on file management, and files won't replace when moved. What are my options at this point?"
I installed this OS, and it looks nice, but it's terrible to use. I randomly have the volume controls get disabled, and sometimes the volume menu in the system tray does nothing when adjusted which I've never seen in an OS before. The trash won't empty. When I try to drag and drop newer files over existing ones, nothing happens. The old ones just stay there. I have to delete the old ones and then move the new ones. And when I go into the protected files to manage audio plugins (I make music), the first thing I hit are error codes galore, and password prompts that either don't popup when they should, or don't execute the command after I provide my password.
What can I do now that I installed the flames of **** onto my computer?Back up all data before proceeding.
This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
Step 1
If you have more than one user, and the one in question is not an administrator, then go to Step 2.
Triple-click anywhere in the following line on this page to select it:
sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
Copy the selected text to the Clipboard by pressing the key combination command-C.
Launch the built-in Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
Step 2 (optional)
Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
Start up in Recovery mode. When the OS X Utilities screen appears, select
Utilities ▹ Terminal
from the menu bar. A Terminal window will open. In that window, type this:
resetp
Press the tab key. The partial command you typed will automatically be completed to this:
resetpassword
Press return. A Reset Password window will open. You’re not going to reset a password.
Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
Select your username from the menu labeled Select the user account if not already selected.
Under Reset Home Directory Permissions and ACLs, click the Reset button.
Select
▹ Restart
from the menu bar. -
Error code text file or Error ring, pros and cons of each
I'm looking for some community input on the pros and cons of using either the Error Code Text file, or the Error Ring for creating custom errors in an application. My question comes about as a result of this post.
I've used the Error Rings exclusively in the past to avoid the extra maintenance steps of bringing the text file along with the LV project and source control. I assumed the error information was simply converted to ring constant. But with my linked post above, I'm wondering how deep my mistakes may cut me.
Please weight in on this with pros/cons, , and any past experiences that may be helpful.Actually Hooovahh and Jeff are right. As you can see in that way you can prioritize the error that you need to read or in other case ignore. In the same time you can create the error that you want.
In this link in the last interaction they upload some pictures where you can see the way for make.
http://forums.ni.com/t5/LabVIEW/Error-Ring-changing-code-number/td-p/3152761/page/2 -
'Blu Ray Error Code 6: File Alreay Exists The ES File is Short' Message
I have successfully built my project several times until I edited three files outside of Encore.
These clips are now slightly shorter in length and I have re-imported them back into Encore and re-done the timelines they were in, the chapters and menus. I have saved the project under a different name, but when i come to build the project (Blu Ray disc or ISO) I keep getting the error 'Blu Ray Error Code 6: File Alreay Exists. The ES File is Short' and it aborts the build process.
Using CS5
Any ideas?
ThanksSometimes session files get corrupted when burn a project again and again or changing the assets.
If you remove session files from you project then while burning Encore will create new session files and this problem may resolve.
Remove the session files from AuthorScriptHDMVSessions folder
Session file location -
/<Project path>/AuthorScriptSessions
Remove this folder and try to burn the project
Thanks,
Pankaj Gauba -
On my application I need to take the parameters from a configuration �object� at a XML file outside the Jar file. Executing an applet and through the appletviewer I can read the file if it is on the same folder. When executing from a browser I can not locate the file.
I have created a class with the code:
URL codeBase = this.getCodeBase();
URL url = null;
try {
url = new URL(codeBase, "filename.xml");
.........When I execute the code above the following error appears: java.applet.Applet.getCodeBase(Unknown Source).You want to display it or work with the content of the XML File?
For displaying you do not need a jsp to do that the link to the *.xml will be enough.
Otherwise you need to parse it, either with a SAX or DOM Parser. Look for dom4j, it is easier for the start as I think.
Regards
Tarik -
Error parsing XML file from a HttpServletRequest using JAXP
Hi,
I am trying to generate an XML file from an HttpServletRequest. I am actually using file uploading method in JSP to send the XML file. I think the parser isnt able to correctly identify the XML file from the message body and hence it is giving some strange error messages. Has anyone of u managed to solve this problem ?
Code snippet:
//now build an XML document from the requested input stream
InputStream in = myRequest.getInputStream();
try {
myDocRequest = myParser.parse(in);
} catch (Throwable t) {
throw new Exception("Could not build document",t);
Error message is:
[Fatal Error] :1:1: Content is not allowed in prolog.
java.lang.Exception: Could not build document
at XMLUtil.<init>(XMLUtil.java:91)
at WCS.doPost(WCS.java:44)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at XMLUtil.<init>(XMLUtil.java:89)
... 20 more
Actually if i just print out the message, it gives something like this:
-----------------------------7d63dc71b06b2
Content-Disposition: form-data; name="W"; filename="C:\work_projects\Capas.xml"
Content-Type: text/xml
<?xml version="1.0" encoding="UTF-8"?>
<GetCapabilities version="1.0.0" service="wcs">
<section>/WCS_Capabilities/Capability</section>
</GetCapabilities>
-----------------------------7d63dc71b06b2--
Cheers.The ServletInput stream contains this:
-----------------------------7d63dc71b06b2
Content-Disposition: form-data; name="W"; filename="C:\work_projects\Capas.xml"
Content-Type: text/xml
<?xml version="1.0" encoding="UTF-8"?>
i.e., its the HTTP File Upload MIME stuff, followed by the XML. You need to wrap around the input stream something that can decode the HTTP MIME stuff and let you get at the XML itself, i.e., something like: com.orielly.servlet.multipart.MultipartParser (Apache has a similar 'file upload servlet).
Jeremy -
Hi,
I am struck with one error in opening the xml file. Pls provide me your inputs.
I am using the pl/sql script for outbounding the data in .xml format. But after creating the file successfully I am not able to open it in the explorer. The data having '&' in one of the columns and it will be available in data in many areas. Where as if I try to create it the same with Oracle report by using 'xml' as output, then I am not getting this issue. And I am able to open the same in explorer perfectly.
Here I am pasting the script which I've created
create or replace PROCEDURE GETXML_TAG(ERRBUT OUT VARCHAR2,
RETCODE OUT VARCHAR2,
P_DIR_NAME VARCHAR2)
IS
v_record_data varchar2(4000) := null;
v_order_id varchar2(50) := null;
v_order_date varchar2(50) := null;
v_order_mode varchar2(50) := null;
v_order_total varchar2(50) := null;
v_file_dir varchar2(100):= '/usr/tmp';
CURSOR cur_hdr IS
SELECT DISTINCT MINISTRY_CODE, DEPT_CODE, ''ENTITY_CODE
FROM XGBZ_FIN_STAGE_ACS
WHERE tx_timestamp IS NULL;
CURSOR cur_line(p_min_code IN VARCHAR2,
p_dept_code IN VARCHAR2) IS
SELECT seg_no,
seg_code,
to_char(seg_description) seg_description,
start_date,
end_date,
status,
disable_flag
FROM xgbz_fin_stage_acs
WHERE tx_timestamp IS NULL
AND ministry_code =p_min_code
AND dept_code = p_dept_code;
BEGIN
v_filename := 'GEBIZ_EPO'||TO_CHAR(SYSDATE,'DDMMYYYYHH24MI')||'.xml';
f_xml_file := UTL_FILE.FOPEN(v_file_dir, v_filename, 'W');
v_record_data := '<?xml version="1.0" encoding="UTF-8"?>';
UTL_FILE.put_line(f_XML_FILE, v_RECORD_DATA);
UTL_FILE.put_line(f_XML_FILE, '<GEBIZ_ACCOUNT_SEGMENT>');
dbms_output.put_line('step 1 '||v_file_dir||'-'||v_filename);
FOR cur_hdr_rec IN cur_hdr
LOOP
dbms_output.put_line('step 2 ');
UTL_FILE.put_line(f_XML_FILE, '<HEADER>');
UTL_FILE.put_line(f_XML_FILE,'<MINISTRY_CODE>' || cur_hdr_rec.ministry_code || '</MINISTRY_CODE>');
UTL_FILE.put_line(f_XML_FILE,'<DEPT_CODE>' || cur_hdr_rec.dept_code || '</DEPT_CODE>');
UTL_FILE.put_line(f_XML_FILE,'<ENTITY_CODE>' || cur_hdr_rec.entity_code || '</ENTITY_CODE>');
UTL_FILE.put_line(f_XML_FILE, '</HEADER>');
FOR cur_line_rec IN cur_line(cur_hdr_rec.ministry_code, cur_hdr_rec.dept_code)
LOOP
dbms_output.put_line('step 3 ');
UTL_FILE.put_line(f_XML_FILE, '<DETAILS>');
UTL_FILE.put_line(f_XML_FILE, '<SEGEMENT>');
UTL_FILE.put_line(f_XML_FILE,'<NUMBER>' || cur_line_rec.seg_no|| '</NUMBER>');
UTL_FILE.put_line(f_XML_FILE,'<CODE>' || cur_line_rec.seg_no|| '</CODE>');
UTL_FILE.put_line(f_XML_FILE,'<DESCRIPTION>' || cur_line_rec.seg_description|| '</DESCRIPTION>');
UTL_FILE.put_line(f_XML_FILE,'<START_DATE>' || cur_line_rec.start_date|| '</START_DATE>');
UTL_FILE.put_line(f_XML_FILE,'<END_DATE>' || cur_line_rec.end_date|| '</END_DATE>');
UTL_FILE.put_line(f_XML_FILE,'<STATUS>' || cur_line_rec.status|| '</STATUS>');
UTL_FILE.put_line(f_XML_FILE,'<DELETE_FLAG>' || cur_line_rec.disable_flag|| '</DELETE_FLAG>');
UTL_FILE.put_line(f_XML_FILE, '</SEGEMENT>');
UTL_FILE.put_line(f_XML_FILE, '</DETAILS>');
END LOOP;
END LOOP;
dbms_output.put_line('step 4 ');
UTL_FILE.put_line(f_XML_FILE, '</GEBIZ_ACCOUNT_SEGMENT>');
UTL_FILE.FCLOSE(f_XML_FILE);
EXCEPTION
WHEN UTL_FILE.INVALID_OPERATION THEN
dbms_output.put_line('Invalid Operation For '|| v_filename);
UTL_FILE.FCLOSE_ALL;
WHEN UTL_FILE.INVALID_PATH THEN
dbms_output.put_line('Invalid Path For '|| v_filename);
UTL_FILE.FCLOSE_ALL;
WHEN UTL_FILE.INVALID_MODE THEN
dbms_output.put_line('Invalid Mode For '|| v_filename);
UTL_FILE.FCLOSE_ALL;
WHEN UTL_FILE.INVALID_FILEHANDLE THEN
dbms_output.put_line('Invalid File Handle '|| v_filename);
UTL_FILE.FCLOSE_ALL;
WHEN UTL_FILE.WRITE_ERROR THEN
dbms_output.put_line('Invalid Write Error '|| v_filename);
UTL_FILE.FCLOSE_ALL;
WHEN UTL_FILE.READ_ERROR THEN
dbms_output.put_line('Invalid Read Error '|| v_filename);
UTL_FILE.FCLOSE_ALL;
WHEN UTL_FILE.INTERNAL_ERROR THEN
dbms_output.put_line('Internal Error');
UTL_FILE.FCLOSE_ALL;
WHEN OTHERS THEN
dbms_output.put_line('Other Error '||'SQL CODE: '||SQLCODE||' Messg: '||SQLERRM);
UTL_FILE.FCLOSE_ALL;
END GETXML_TAG;
The file I am generating at the server level:
EPO150320111915.xml
<?xml version="1.0" encoding="UTF-8"?>
<GEBIZ_ACCOUNT_SEGMENT>
<HEADER>
<MINISTRY_CODE>RPO</MINISTRY_CODE>
<DEPT_CODE>000</DEPT_CODE>
<ENTITY_CODE></ENTITY_CODE>
</HEADER>
<DETAILS>
<SEGEMENT>
<NUMBER>1</NUMBER>
<CODE>1</CODE>
<DESCRIPTION>Republic Polytechnic</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>2</NUMBER>
<CODE>2</CODE>
<DESCRIPTION>Operating Grant</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>2</NUMBER>
<CODE>2</CODE>
<DESCRIPTION>Dev Grant-Renovation to Temp Campus Temp</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>2</NUMBER>
<CODE>2</CODE>
<DESCRIPTION>Dev Grant-Renovation to Temp Campus Main</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>2</NUMBER>
<CODE>2</CODE>
<DESCRIPTION>Dev Grant-IT for Temp Campus</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>2</NUMBER>
<CODE>2</CODE>
<DESCRIPTION>Dev Grant-Land Premium for Woodlands Campus</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>2</NUMBER>
<CODE>2</CODE>
<DESCRIPTION>Dev Grant-Pre-construction of Woodlands Campus</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>2</NUMBER>
<CODE>2</CODE>
<DESCRIPTION>Dev Grant-FE</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>2</NUMBER>
<CODE>2</CODE>
<DESCRIPTION>Tax Exempt-Student Dev Welfare Fund</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>2</NUMBER>
<CODE>2</CODE>
<DESCRIPTION>Tax Exempt-Dev Project Fund</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>2</NUMBER>
<CODE>2</CODE>
<DESCRIPTION>For Finance Use ONLY</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>3</NUMBER>
<CODE>3</CODE>
<DESCRIPTION>Library</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>3</NUMBER>
<CODE>3</CODE>
<DESCRIPTION>Office of Academic Affairs</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>3</NUMBER>
<CODE>3</CODE>
<DESCRIPTION>Office of Corporate Communications</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>3</NUMBER>
<CODE>3</CODE>
<DESCRIPTION>Office of Deputy Principal</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>3</NUMBER>
<CODE>3</CODE>
<DESCRIPTION>Office of Estates</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>3</NUMBER>
<CODE>3</CODE>
<DESCRIPTION>Office of Finance</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>3</NUMBER>
<CODE>3</CODE>
<DESCRIPTION>Office of Human Resource</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
<DETAILS>
<SEGEMENT>
<NUMBER>3</NUMBER>
<CODE>3</CODE>
<DESCRIPTION>Office of Industrial & International Services</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<STATUS>A</STATUS>
<DELETE_FLAG></DELETE_FLAG>
</SEGEMENT>
</DETAILS>
</GEBIZ_ACCOUNT_SEGMENT>
------ end of file
I am able to edit it correctly in notepad, when tried to open at explorer level its not allowing me because of '&'.
Pls confirm what might be the issue.
Regards
NagendraThis is the output:
<?xml version="1.0" encoding="UTF-8" ?>
- <GEBIZ_PO_FUND_STATUS>
- <HEADER>
<ORDER_CODE>RPO000EPO03000086</ORDER_CODE>
<EXTERNAL_SYSTEM_CODE>E</EXTERNAL_SYSTEM_CODE>
<AMENDMENT_NUMBER>0</AMENDMENT_NUMBER>
<VARIATION_NUMBER>0</VARIATION_NUMBER>
- <TOTAL_AMOUNT>
<CURRENCY_CODE>SGD</CURRENCY_CODE>
<CURRENCY_AMOUNT>306</CURRENCY_AMOUNT>
</TOTAL_AMOUNT>
<MINISTRY_CODE>RPO</MINISTRY_CODE>
<DEPARTMENT_CODE>000</DEPARTMENT_CODE>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</HEADER>
- <ITEMS>
- <ITEM>
<LINE_NUMBER>1</LINE_NUMBER>
<UNIT_OF_MEASURE>RM</UNIT_OF_MEASURE>
<QUANTITY>100</QUANTITY>
<TOTAL_AMOUNT>306</TOTAL_AMOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <LOCATIONS>
- <LOCATION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>100</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>100</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/1ODP/000/220702/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
</LOCATIONS>
</ITEM>
</ITEMS>
- <HEADER>
<ORDER_CODE>RPO000EPO03000090</ORDER_CODE>
<EXTERNAL_SYSTEM_CODE>E</EXTERNAL_SYSTEM_CODE>
<AMENDMENT_NUMBER>0</AMENDMENT_NUMBER>
<VARIATION_NUMBER>0</VARIATION_NUMBER>
- <TOTAL_AMOUNT>
<CURRENCY_CODE>SGD</CURRENCY_CODE>
<CURRENCY_AMOUNT>4950</CURRENCY_AMOUNT>
</TOTAL_AMOUNT>
<MINISTRY_CODE>RPO</MINISTRY_CODE>
<DEPARTMENT_CODE>000</DEPARTMENT_CODE>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</HEADER>
- <ITEMS>
- <ITEM>
<LINE_NUMBER>1</LINE_NUMBER>
<UNIT_OF_MEASURE>CQ</UNIT_OF_MEASURE>
<QUANTITY>9000</QUANTITY>
<TOTAL_AMOUNT>4950</TOTAL_AMOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <LOCATIONS>
- <LOCATION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/1OCC/000/221001/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
- <LOCATION>
<LINE_NUMBER>2</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/1OCC/000/221001/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
- <LOCATION>
<LINE_NUMBER>3</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/1OCC/000/221001/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
</LOCATIONS>
</ITEM>
- <ITEM>
<LINE_NUMBER>1</LINE_NUMBER>
<UNIT_OF_MEASURE>CQ</UNIT_OF_MEASURE>
<QUANTITY>9000</QUANTITY>
<TOTAL_AMOUNT>4950</TOTAL_AMOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <LOCATIONS>
- <LOCATION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/1OCC/000/221001/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
- <LOCATION>
<LINE_NUMBER>2</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/1OCC/000/221001/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
- <LOCATION>
<LINE_NUMBER>3</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/1OCC/000/221001/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
</LOCATIONS>
</ITEM>
- <ITEM>
<LINE_NUMBER>1</LINE_NUMBER>
<UNIT_OF_MEASURE>CQ</UNIT_OF_MEASURE>
<QUANTITY>9000</QUANTITY>
<TOTAL_AMOUNT>4950</TOTAL_AMOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <LOCATIONS>
- <LOCATION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/1OCC/000/221001/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
- <LOCATION>
<LINE_NUMBER>2</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/1OCC/000/221001/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
- <LOCATION>
<LINE_NUMBER>3</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3000</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/1OCC/000/221001/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
</LOCATIONS>
</ITEM>
</ITEMS>
- <HEADER>
<ORDER_CODE>RPO000EPO03000097</ORDER_CODE>
<EXTERNAL_SYSTEM_CODE>E</EXTERNAL_SYSTEM_CODE>
<AMENDMENT_NUMBER>0</AMENDMENT_NUMBER>
<VARIATION_NUMBER>0</VARIATION_NUMBER>
- <TOTAL_AMOUNT>
<CURRENCY_CODE>SGD</CURRENCY_CODE>
<CURRENCY_AMOUNT>160</CURRENCY_AMOUNT>
</TOTAL_AMOUNT>
<MINISTRY_CODE>RPO</MINISTRY_CODE>
<DEPARTMENT_CODE>000</DEPARTMENT_CODE>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</HEADER>
- <ITEMS>
- <ITEM>
<LINE_NUMBER>1</LINE_NUMBER>
<UNIT_OF_MEASURE>EA</UNIT_OF_MEASURE>
<QUANTITY>2</QUANTITY>
<TOTAL_AMOUNT>80</TOTAL_AMOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <LOCATIONS>
- <LOCATION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>2</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>2</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/3SIT/000/221103/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
</LOCATIONS>
</ITEM>
</ITEMS>
- <HEADER>
<ORDER_CODE>RPO000EPO03000097</ORDER_CODE>
<EXTERNAL_SYSTEM_CODE>E</EXTERNAL_SYSTEM_CODE>
<AMENDMENT_NUMBER>0</AMENDMENT_NUMBER>
<VARIATION_NUMBER>0</VARIATION_NUMBER>
- <TOTAL_AMOUNT>
<CURRENCY_CODE>SGD</CURRENCY_CODE>
<CURRENCY_AMOUNT>240</CURRENCY_AMOUNT>
</TOTAL_AMOUNT>
<MINISTRY_CODE>RPO</MINISTRY_CODE>
<DEPARTMENT_CODE>000</DEPARTMENT_CODE>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</HEADER>
- <ITEMS>
- <ITEM>
<LINE_NUMBER>2</LINE_NUMBER>
<UNIT_OF_MEASURE>EA</UNIT_OF_MEASURE>
<QUANTITY>3</QUANTITY>
<TOTAL_AMOUNT>120</TOTAL_AMOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <LOCATIONS>
- <LOCATION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>3</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/3SIT/000/221103/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
</LOCATIONS>
</ITEM>
</ITEMS>
- <HEADER>
<ORDER_CODE>RPO000EPO03000099</ORDER_CODE>
<EXTERNAL_SYSTEM_CODE>E</EXTERNAL_SYSTEM_CODE>
<AMENDMENT_NUMBER>0</AMENDMENT_NUMBER>
<VARIATION_NUMBER>0</VARIATION_NUMBER>
- <TOTAL_AMOUNT>
<CURRENCY_CODE>SGD</CURRENCY_CODE>
<CURRENCY_AMOUNT>1000</CURRENCY_AMOUNT>
</TOTAL_AMOUNT>
<MINISTRY_CODE>RPO</MINISTRY_CODE>
<DEPARTMENT_CODE>000</DEPARTMENT_CODE>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</HEADER>
- <ITEMS>
- <ITEM>
<LINE_NUMBER>1</LINE_NUMBER>
<UNIT_OF_MEASURE>EA</UNIT_OF_MEASURE>
<QUANTITY>1000</QUANTITY>
<TOTAL_AMOUNT>1000</TOTAL_AMOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <LOCATIONS>
- <LOCATION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>1000</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>1000</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/1OCC/000/221001/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
</LOCATIONS>
</ITEM>
</ITEMS>
- <HEADER>
<ORDER_CODE>RPO000EPO03000112</ORDER_CODE>
<EXTERNAL_SYSTEM_CODE>E</EXTERNAL_SYSTEM_CODE>
<AMENDMENT_NUMBER>0</AMENDMENT_NUMBER>
<VARIATION_NUMBER>0</VARIATION_NUMBER>
- <TOTAL_AMOUNT>
<CURRENCY_CODE>SGD</CURRENCY_CODE>
<CURRENCY_AMOUNT>7450</CURRENCY_AMOUNT>
</TOTAL_AMOUNT>
<MINISTRY_CODE>RPO</MINISTRY_CODE>
<DEPARTMENT_CODE>000</DEPARTMENT_CODE>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</HEADER>
- <ITEMS>
- <ITEM>
<LINE_NUMBER>1</LINE_NUMBER>
<UNIT_OF_MEASURE>EA</UNIT_OF_MEASURE>
<QUANTITY>50</QUANTITY>
<TOTAL_AMOUNT>7450</TOTAL_AMOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <LOCATIONS>
- <LOCATION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>50</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>50</QUANTITY>
<CHART_OF_ACCOUNT>1/D03/1OIS/000/220308/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
</LOCATIONS>
</ITEM>
</ITEMS>
- <HEADER>
<ORDER_CODE>RPO000EPO03000115</ORDER_CODE>
<EXTERNAL_SYSTEM_CODE>E</EXTERNAL_SYSTEM_CODE>
<AMENDMENT_NUMBER>0</AMENDMENT_NUMBER>
<VARIATION_NUMBER>0</VARIATION_NUMBER>
- <TOTAL_AMOUNT>
<CURRENCY_CODE>SGD</CURRENCY_CODE>
<CURRENCY_AMOUNT>175</CURRENCY_AMOUNT>
</TOTAL_AMOUNT>
<MINISTRY_CODE>RPO</MINISTRY_CODE>
<DEPARTMENT_CODE>000</DEPARTMENT_CODE>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</HEADER>
- <ITEMS>
- <ITEM>
<LINE_NUMBER>1</LINE_NUMBER>
<UNIT_OF_MEASURE>LT</UNIT_OF_MEASURE>
<QUANTITY>1</QUANTITY>
<TOTAL_AMOUNT>175</TOTAL_AMOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <LOCATIONS>
- <LOCATION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>1</QUANTITY>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
- <DISTRIBUTIONS>
- <DISTRIBUTION>
<LINE_NUMBER>1</LINE_NUMBER>
<QUANTITY>1</QUANTITY>
<CHART_OF_ACCOUNT>1/G01/1OPT/000/220702/0000/0000/0000</CHART_OF_ACCOUNT>
<FUND_STATUS>COMMITTED</FUND_STATUS>
<FUND_REJECT_REASON />
</DISTRIBUTION>
</DISTRIBUTIONS>
</LOCATION>
</LOCATIONS>
</ITEM>
</ITEMS>
</GEBIZ_PO_FUND_STATUS>
<FUND_REJECT_REASON /> is one of the element where some times I can have data and some times I won't.
This is the script I used for generating that data
SELECT xmlserialize(document
xmlelement("GEBIZ_PO_FUND_STATUS"
, xmlagg(
xmlconcat(hdr, dtls)
as clob indent size = 2
INTO lv_out
FROM (
SELECT xmlelement("HEADER"
, xmlelement("ORDER_CODE", po_cont_code)
, xmlelement("EXTERNAL_SYSTEM_CODE", ext_system_code)
, xmlelement("AMENDMENT_NUMBER", amendment_no)
, xmlelement("VARIATION_NUMBER", variation_no)
, xmlelement("TOTAL_AMOUNT"
, xmlelement("CURRENCY_CODE", currency_code)
, xmlelement("CURRENCY_AMOUNT", total_amount)
, xmlelement("MINISTRY_CODE",ministry_code)
, xmlelement("DEPARTMENT_CODE",dept_code)
, xmlelement("FUND_STATUS", hdr_fund_status)
, xmlelement("FUND_REJECT_REASON", hdr_fund_reject_res)
) hdr
, xmlagg(
xmlelement("ITEMS"
, xmlelement("ITEM"
, xmlelement("LINE_NUMBER", line_no)
, xmlelement("UNIT_OF_MEASURE", uom_code)
, xmlelement("QUANTITY", line_quantity)
, xmlelement("TOTAL_AMOUNT", line_total_amount)
, xmlelement("FUND_STATUS", line_fund_status)
, xmlelement("FUND_REJECT_REASON", line_fund_reject_res)
,xmlelement("LOCATIONS"
,xmlelement("LOCATION"
,xmlelement("LINE_NUMBER", shipment_num)
,xmlelement("QUANTITY",line_location_quantity)
,xmlelement("FUND_STATUS",loc_fund_status)
,xmlelement("FUND_REJECT_REASON",loc_fund_reject_res)
,xmlelement("DISTRIBUTIONS"
,xmlelement("DISTRIBUTION"
,xmlelement("LINE_NUMBER", distribution_num)
,xmlelement("QUANTITY", quantity_ordered)
,xmlelement("CHART_OF_ACCOUNT",chart_account)
,xmlelement("FUND_STATUS", dist_fund_status)
,xmlelement("FUND_REJECT_REASON", dist_fund_reject_res)
) dtls
FROM xgbz_fin_stage_pof_v
GROUP BY po_cont_code,ext_system_code,amendment_no,variation_no,currency_code,total_amount,
ministry_code, dept_code, hdr_fund_status,hdr_fund_reject_res);
When ever, for any of the above columns does not have data that time it is coming like this for eg:
<FUND_REJECT_REASON />
instead of this can I have output like this
<FUND_REJECT_REASON > </FUND_REJECT_REASON>
for those non data elements.
Is that possible .
Thanks for your help.
Regards
Nagendra -
Error in xml file validation to its relevant xml schema
Hi All,
I have 3 xml schema files files from which I generated a XML file using PLSQL.I am getting this error when I am trying to validate xml file to the schema:
*'WMWROOT' NOT DECLARED*.Can anyone help me with this,I am including the main schema file and also the XML generated.
XML Schem file:
Itemdownload.xsd:
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="ItemDownload" targetNamespace="http://www.manh.com/ILSNET/Interface" elementFormDefault="qualified"
xmlns="http://www.manh.com/ILSNET/Interface" xmlns:xs="http://www.w3.org/2001/XMLSchema" version ="2007">
<xs:include schemaLocation="Item.xsd" />
<xs:element name="WMWROOT" nillable="true" type="WMWROOT" />
<xs:complexType name="WMWROOT">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="WMWDATA" type="WMWDATA" />
</xs:sequence>
</xs:complexType>
<xs:element name="WMWDATA" nillable="true" type="WMWDATA"/>
<xs:complexType name="WMWDATA">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="Items" type="ItemList" />
</xs:sequence>
</xs:complexType>
<xs:element name="Items" nillable="false" type="ItemList" />
<xs:complexType name="ItemList">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="Item" nillable="true" type="Item" />
</xs:sequence>
</xs:complexType>
</xs:schema>
The generated xml file is:
<?xml version="1.0" ?>
<WMWROOT>
<WMWDATA>
<Items>
<Item><Action>Save</Action><UserDef8>10074</UserDef8><Active>Y</Active><AvailableOnWeb>N</AvailableOnWeb><Company>OU: ResMed Corp</Company><Cost>285.93</Cost><Desc>HP DESKJET PRINTER (EMBLA)</Desc><HarmCode><UserDef8>10074</UserDef8></HarmCode><Item>R145-794</Item><InventoryTracking>Y</InventoryTracking><LongDesc>HP DESKJET PRINTER (EMBLA)</LongDesc><LotControlled>Y</LotControlled><SerialNumTrackOutbound>7</SerialNumTrackOutbound><StorageTemplate><Template>Each</Template></StorageTemplate><XRefs><XRef><XRefItem></XRefItem></XRef></XRefs></Item>
<Item><Action>Save</Action><UserDef8>80862</UserDef8><Active>Y</Active><AvailableOnWeb>N</AvailableOnWeb><Company>OU: ResMed Corp</Company><Cost>54.27</Cost><Desc>Mirage Micro Mask MED&LG-Internet Pkg</Desc><HarmCode><UserDef8>80862</UserDef8></HarmCode><Item>16359</Item><InventoryTracking>Y</InventoryTracking><LongDesc>Mirage Micro Mask MED&LG-Internet Pkg</LongDesc><LotControlled>Y</LotControlled><SerialNumTrackOutbound>N</SerialNumTrackOutbound><StorageTemplate><Template>Each</Template></StorageTemplate><XRefs><XRef><XRefItem>619498163597</XRefItem></XRef></XRefs></Item>
</Items>
</WMWDATA>
</WMWROOT>
I can provide you with the other 2 dependent schemas if needed.Please reply me!!Hey,
As you said I tried keeping the namespace in xml file and it worked for a strange reason I am getting the same error again,I am not able to figure it why!!
The error is:
SAMPLEITEMDLFILE.xml:2,139: no declaration found for element 'WMWROOT'
The XML document SAMPLEITEMDLFILE.xml is NOT valid (1 errors)
This is the part of PL/SQL code thru which I am generating the xml:
UTL_FILE.put_line (l_out_file, '<?xml version="1.0" ?>');
UTL_FILE.put_line (l_out_file, '<WMWROOT');
UTL_FILE.put_line (l_out_file, 'xmlns="http://www.manh.com/ILSNET/Interface"> ');
UTL_FILE.put_line (l_out_file, '<WMWDATA>');
UTL_FILE.put_line (l_out_file, '<Items>');
I am validating it in stylus studio tool.
Can you please help me thru this? -
Error in xml file validating to xml schema
Hey,
I am getting the following error while validating xml file to its schema:
The error is:
SAMPLEITEMDLFILE.xml:2,139: no declaration found for element 'WMWROOT'
The XML document SAMPLEITEMDLFILE.xml is NOT valid (1 errors)
schema file:
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="ItemDownload" targetNamespace="http://www.manh.com/ILSNET/Interface" elementFormDefault="qualified"
xmlns="http://www.manh.com/ILSNET/Interface" xmlns:xs="http://www.w3.org/2001/XMLSchema" version ="2007">
<xs:include schemaLocation="Item.xsd" />
<xs:element name="WMWROOT" nillable="true" type="WMWROOT" />
<xs:complexType name="WMWROOT">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="WMWDATA" type="WMWDATA" />
</xs:sequence>
</xs:complexType>
<xs:element name="WMWDATA" nillable="true" type="WMWDATA"/>
<xs:complexType name="WMWDATA">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="Items" type="ItemList" />
</xs:sequence>
</xs:complexType>
<xs:element name="Items" nillable="false" type="ItemList" />
<xs:complexType name="ItemList">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="Item" nillable="true" type="Item" />
</xs:sequence>
</xs:complexType>
</xs:schema>
This is the part of PL/SQL code thru which I am generating the xml:
UTL_FILE.put_line (l_out_file, '<?xml version="1.0" ?>');
UTL_FILE.put_line (l_out_file, '<WMWROOT');
UTL_FILE.put_line (l_out_file, 'xmlns="http://www.manh.com/ILSNET/Interface"> ');
UTL_FILE.put_line (l_out_file, '<WMWDATA>');
UTL_FILE.put_line (l_out_file, '<Items>');
I am validating it in stylus studio tool.
Can any1 tell me where I am goin wrong?Hi,
I am using databse version 10.2.0.03. I am getting the output of xml file like tis:
<?xml version="1.0" ?>
<WMWROOT xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.manh.com/ILSNET/Interface ItemDownload.xsd">
WMWDATA>
<Items>
<Item>
<action>Save</action><UserDef8>10074</UserDef8><active>Y</active><availableonweb>N</availableonweb><cost>285.93</cost><desc>HP DESKJET PRINTER (EMBLA)</desc><HarmCode><Identifier>9019.20.0000</Identifier></HarmCode><Item>R145-794</Item><InventoryTracking>Y</InventoryTracking><LongDesc>HP DESKJET PRINTER (EMBLA)</LongDesc><LotControlled>Y</LotControlled><SerialNumTrackInbound>Y</SerialNumTrackInbound><SerialNumTrackInventory>Y</SerialNumTrackInventory><SerialNumTrackOutbound>Y</SerialNumTrackOutbound><StorageTemplate><Template>Each</Template></StorageTemplate><XRefs><XRef></XRef></XRefs>
</Item>
</Items>
</WMWDATA>
</WMWROOT>
My plsql code is like tis:
SELECT /*rule*/
XMLELEMENT (
"Item",
XMLFOREST (action AS "action",
Userdef8 AS "UserDef8",
active AS "active",
availableonweb AS "availableonweb",
cost AS "cost",
description AS "desc"),
XMLELEMENT ("HarmCode",
XMLFOREST (Identifier AS "Identifier")),
XMLFOREST (
Item AS "Item",
inventorytracking AS "InventoryTracking",
Longdesc AS "LongDesc",
lotcontrolled AS "LotControlled",
serialnumtrackinbound AS "SerialNumTrackInbound",
serialnumtrackinventory AS "SerialNumTrackInventory",
serialnumtrackoutbound AS "SerialNumTrackOutbound"),
XMLELEMENT ("StorageTemplate",
XMLFOREST (Template AS "Template")),
XMLELEMENT (
"XRefs",
XMLELEMENT ("XRef", XMLFOREST (XRefItem AS "XRefitem")))).
getclobval ()
----------------------------------------writing to utl file-------------
l_out_file :=
UTL_FILE.fopen (lv_path,
-- lv_out_file,
'testingitemsdl.xml',
'W',
32767);
UTL_FILE.put_line (l_out_file, '<?xml version="1.0" ?>');
UTL_FILE.put_line (l_out_file, '<WMWROOT');
UTL_FILE.put_line (l_out_file, 'xmlns="http://www.manh.com/ILSNET/Interface"> ');
UTL_FILE.put_line (l_out_file, '<WMWDATA>');
UTL_FILE.put_line (l_out_file, '<Items>');
FOR i IN lc_item_info
LOOP
UTL_FILE.put_line (l_out_file, i.item);
END LOOP;
UTL_FILE.put_line (l_out_file, '</Items>');
UTL_FILE.put_line (l_out_file, '</WMWDATA>');
UTL_FILE.put_line (l_out_file, '</WMWROOT>');
UTL_FILE.fclose (l_out_file); -
Create additional installer error code -12 file not found from device driver cd
I'm trying to build an installer for a project that includes several NI drivers - specifically NI-DMM. NI-SCOPE, NI-SWITCH, NI-845x, and a few others (MAX, DAQ, etc). When I build the software standalone (and only include the run-time engine), it works fine. However, when I try to build the installer with the additional installers (mentioned above), the build prompts me for device driver cds, and then fails. Specifically, it fails on the February 2006 Device Driver cd. The error is attached below.
I have tried
- repairing all the installations of the software mentioned
- using a new project and re-adding the files
- building the additional installers seperately (no source code installed)
- copying the driver cds to the harddrive and referencing them there when needed
The next step will be to reinstall all of those drivers from scratch, but I really would prefer not to. Does anyone have any ideas (or solutions) regarding this problem?
CDK_CreateNewWizard_Invoke.vi.ProxyCaller >> CDK_CreateNewWizard_Invoke.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> CDK_Engine_PromptForMissingDist.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi
Loading product deployment information
Loading product deployment information
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Copying distribution 'NI-845x Software 1.0.1' from: C:\National Instruments Downloads\NI-845x\1.0.1\ to: C:\PTF\Builds\**********************<edited out>
Copying distribution 'National Instruments Device Drivers - February 2006, Disk 1' from: C:\National Instruments Downloads\DCD-Feb06-1\ to: C:\Program Files\National Instruments\Shared\ProductCache\
*** Error: Windows SDK function returned an error. (Error code -12)
The system cannot find the file specified.
*** End Error Report
Done building deploymentI have had this happen a lot espescially with LV 8.0 -8.20. What I had to do was take the device drivers CD and copy it to the and run the installation of the software from the copy on the hard disk.
When you build an exe with additional installers it looks at the last place that you installed the drivers from. Anyway it worked for me so it might work for you.
Joe.
"NOTHING IS EVER EASY" -
SMD uninstallation error "ORADBPAR.XML" file not found.
Hello Experts,
I was doing System preparation in solution manager through Solman_setup.In step 6.5 I came across Install Diagonostic agent .I checked in my system that older version of SMD is installed that may cause problem in future so I decided to uninstall it and install newer version of SMD7.3.I downloaded the SMD file and started sapinst with sudo access to uninstall it.Now I am getting an error saying ORADBPAR.XML file not found.I checked for this file but I could not find .Plz help me out to find this file and resolve the issue.
Thanks
Aditya RoushanHi Carole,
I had older version of SMD(7.01) installed in my system.I tried uninstalling this with sapinst downloaded with SMD7.2 so i got this error.I had to download the SMD7.01 from market place (you willl get this in archive) and then uninstall the SMD using this sapinst (which came with 7.01 version).i could do this successfully.Hope this will help you
@Jose:Thanx for ur reply but using sudo had no problem.I uninstalled older SMD7.01 and installed SMD7.2 using sudo privilege only.
Thanks
Aditya Roushan -
I have created a form through screen painter and converted it to xml for accesing it through asp.net.The xml file gives following error-
An unhandled exception of type
'System.Runtime.InteropServices.COMException' occured in Project1.exe
Additional information:Form -already exists [66000-11].Form Unique Id:
'SBOFormEditor_16'hi dilip,
As u told, u have two problem..
1.) error in creating xml.
do one thing, open srf in any editor, copy all content to a blank notepad file then
file > save as
a.) file type to all files
b.) encoding to unicode
c.) file name with extension
2.) form already exist.
to overcome this, u have to close the sap business one and restart it.
hope both will help u.
if satisfied, rewards points.
regards
nirdesh panwar
Maybe you are looking for
-
How can I transfer video in an app to my PC?
I have videos downloaded from the app "MyTube" that I would like to move to my computer to view. Anyone know how to go about this?
-
I can't download anything When I want to download a app it says after entering apple password it says connection manager invoke retry or cancel
-
Help!!! Flash CS3 and CS4 wont save .gifs
Ok, so im trying to save my project as a .gif and it just wont save it right, it marks as if it has already been saved, but when i open the .gif it just displays the first frame.......any help? Am i doing something wrong???? the actual file that im s
-
Unable to drag or delete guides in PS CC
Really getting ticked with all the bugs in CC! Trying to design a book and the guides I make won't move or delete. My ruler is in inches and guides always move slightly off the marks I try to align them to so I try to move them and can't, I can't dra
-
Nokia 6300 d worst phone i've ever had
hello ppl, i bought 6300 last year in may, after few months it started with random reboots, nokia care ppl kept it for about a month, after few days it was back again with reboots!! now the situation is so dat, the phone doesn't start even! the scree