RE: [U2] [UV] Strange characters in XML output

2006-11-17 Thread Nick Cipollina
Have you tried using XMLMAPPING?

Thanks,
 
Nick Cipollina
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Lin
Sent: Thursday, November 16, 2006 11:08 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UV] Strange characters in XML output

[EMAIL PROTECTED] wrote:
 Hmmm, I haven't seen anything like this but the L10 being appended
 looks suspiciously like a bad conversion justification that might be
 appending to the file name. I would check all the dictionaries
involved
 in this listing, including @id, @, @select, any 'PH's and any other
dict
 control items to make sure they aren't mal-formed.

 Stuart
Stuart,

I didn't find anything unusual in the dictionaries.
Also the problem I described is inconsistent.

For example.  If I open a new telnet session to Universe and do simple 
Retrieve statement to output XML, the first attempt may give me the 
right result.
However, if do a .X at TCL prompt to execute the same Retrieve 
statement, I will usually get extra characters in the XML output.

This not a show stopper for me at this time since I can produce good XML

output without any problem by using SQL SELECT instead of Retrieve.

Jason
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] Strange characters in XML output

2006-11-16 Thread Jason Lin
Minor correction to my previous message:
The element IDs in my previous message should have been the name of the
file with _record appended to the end.  For example, PERSONNEL.F_record.

After I did more testing, I notice the strange charaters are attached to
the element IDs if I use Retrieve with ID.SUP keyword.  If I use SQL
SELECT instead to create XML output, I do not have this problem.

Also this problem occured in Universe 10.1.2 running on HP-UX.
but Universe 10.1.18 running on Windows does NOT have this problem.

For now I guess I can use SQL SELECT instead of Retrieve to avoid the
problem although I would like hear if anyone know why using Retrieve
with ID.SUP keyword will screw up the XML output.

Thanks.
Jason
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] Strange characters in XML output

2006-11-16 Thread Stuart . Boydell
Hmmm, I haven't seen anything like this but the L10 being appended
looks suspiciously like a bad conversion justification that might be
appending to the file name. I would check all the dictionaries involved
in this listing, including @id, @, @select, any 'PH's and any other dict
control items to make sure they aren't mal-formed.

Stuart

 

 



Example 1: 
LIST PERSONNEL.F BADGE.NO NAME DOB ID.SUP SAMPLE 10 TOXML 

 ?xml version=1.0? 
 ROOT 
 PERSONNEL.FL10 BADGE.NO = 10 NAME = Martinez, Elizabeth DOB = 
03/15/57/ 



 
**
This email message and any files transmitted with it are confidential and 
intended solely for the use of addressed recipient(s). If you have received 
this communication in error, please reply to this e-mail to notify the sender 
of its incorrect delivery and then delete it and your reply.  It is your 
responsibility to check this email and any attachments for viruses and defects 
before opening or sending them on. Spotless collects information about you to 
provide and market our services. For information about use, disclosure and 
access, see our privacy policy at http://www.spotless.com.au 
Please consider our environment before printing this email. 
** 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/