It's Sunday, and my brain is at the dry cleaners.  Please check back
tomorrow.

 

Art Douglas
Lead <http://www.linkedin.com/in/ediproartdouglas%20>  Consultant

Blackwater Network

(877) 464-8915

-----Original Message-----
From: Francis Upton [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 19, 2008 12:53 PM
To: Art Douglas; EDI-L Mailing List
Subject: Re: [EDI-L] Unable to read XML file in GXS

 

It's possible that the XML parser used by GXS does not recognize the empty
element optimization (though that seems so odd that an XML parser would be
that broken).  You might want to try the tracking number as
<TRACKINGNUMBER></TRACKINGNUMBER> to see if that works.  Oh dear, as I look
further at the message it's clear that you are not using an XML parser, but
some way of configuring GXS to handle XML.  You are missing the rules to
allow for the empty element optimization, though I don't know how you would
specify them.

The original XML is fine, the TRACKINGNUMBER element is empty, which is
represented by <TRACKINGNUMBER/> (note the slash at the end of the tag).
This is an optimization allowing an empty element to be expressed with a
single tag.  Note that a tag is the thing between angle brackets, and than
an element is everything including the start and end tag and its data.

Art, the XML examples you present are incorrect, in both examples, the last
tag should be </TRACKINGNUMBER>.

Francis

Art Douglas wrote: 

Vani,

Your XML, as presented, is malformed. That is why you cannot read it. It
should be something like this:

<SHIPDATE>08/08/2008</SHIPDATE>
<TRACKINGID>74186</TRACKINGID>
<TRACKINGNUMBER>1234567890<TRACKINGNUMBER/> 

or this:

<TRACKINGNUMBER>
<SHIPDATE>08/08/2008</SHIPDATE>
<TRACKINGID>74186</TRACKINGID>
<TRACKINGNUMBER/> 

In the first case, the tracking number would be a discreet data element, in
the second case, the tracking number would be made up of shipdate and
trackingid.

Art Douglas
Lead Consultant
Blackwater Network
(877) 464-8915

-----Original Message-----
From: [EMAIL PROTECTED] <mailto:EDI-L%40yahoogroups.com> com
[mailto:[EMAIL PROTECTED] <mailto:EDI-L%40yahoogroups.com> com] On Behalf
Of
vanirams05
Sent: Saturday, October 18, 2008 4:45 AM
To: [EMAIL PROTECTED] <mailto:EDI-L%40yahoogroups.com> com
Subject: [EDI-L] Unable to read XML file in GXS

Hi,

I am trying to map XML data to EDI using GXS AI server 5.0.But i 
am unable to read whole input.
The input data looks like <SHIPDATE>08/08/2008</SHIPDATE> 
<TRACKINGID>74186</TRACKINGID>
<TRACKINGNUMBER/> 

I am unable to read only <TRACKINGNUMBER/>.The error i am getting 
is Missing Post delimeter.

I have used the following delimeters and used OTXMLS.acc as the 
source access model and also included OTXML.inc.

SET_FIRST_DELIM(62) ; > 
SET_SECOND_DELIM(60) ; < 
SET_THIRD_DELIM(47) ; / 
SET_FOURTH_DELIM(34) ; " 
SET_FIFTH_DELIM(39) ; , 
SET_RELEASE(92) ; \ 
SET_RELEASE(47) ; / 

Please help me out where i am going wrong.

Thanks in advance.
Vani



------------------------------------

...
Please use the following Message Identifiers as your subject prefix:
<SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>

Job postings are welcome, but for job postings or requests for work: <JOBS>
IS REQUIRED in the subject line as a prefix.Yahoo! Groups Links

 






-- 
You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go
 
Francis Upton IV
[EMAIL PROTECTED]
Tel   510 835 3123
Fax   510 779 5226
Cell  510 432 1589
Skype francisupton


[Non-text portions of this message have been removed]


------------------------------------

...
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>

Job postings are welcome, but for job postings or requests for work: <JOBS> IS 
REQUIRED in the subject line as a prefix.Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EDI-L/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to