Quantcast

Problems with EDI delimiters in smooks 1.3.1 version

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problems with EDI delimiters in smooks 1.3.1 version

Huynh Dao

Hi,

 

I’m new to Smooks and I can’t find the way to resolve this thing.

When I declared my EDI delimiters like that:

 

      <medi:delimiters segment="&#39;" field="+" component=":"

            sub-component=":" escape="?" />

 

It doesn’t work.

 

But the point is that my EDI input file’s got a “ ‘ “ as a final delimiters.

Here’s an excerpt:

 

UNH+1+INVOIC:D:96A:UN:FTW100'

BGM+380+029065817+9'

DTM+3:20091031:102'

 

I tried :

 

-          segment="’&#39;&#10;"

-          segment="&#39;&#10;"

-          segment="’&#10;"

 

And none of them work.

So I don’t know what to do.

 

Hope everyone understands my question as it is not very clear. Please let me know

 

Dao.



__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 5053 (20100423) __________

Le message a été vérifié par ESET NOD32 Antivirus.

http://www.eset.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SV: Problems with EDI delimiters in smooks 1.3.1 version

Bård Langöy

Hi Dao,

 

Try typing the delimiter ” &#39;!$”. The !$ tells the EdiParser (BufferedSegmentReader) to ignore newlines.

 

Regards,

Bård

 

Från: Huynh Dao [mailto:[hidden email]]
Skickat: den 23 april 2010 16:49
Till: [hidden email]
Ämne: [milyn-user] Problems with EDI delimiters in smooks 1.3.1 version

 

Hi,

 

I’m new to Smooks and I can’t find the way to resolve this thing.

When I declared my EDI delimiters like that:

 

      <medi:delimiters segment="&#39;" field="+" component=":"

            sub-component=":" escape="?" />

 

It doesn’t work.

 

But the point is that my EDI input file’s got a “ ‘ “ as a final delimiters.

Here’s an excerpt:

 

UNH+1+INVOIC:D:96A:UN:FTW100'

BGM+380+029065817+9'

DTM+3:20091031:102'

 

I tried :

 

-          segment="’&#39;&#10;"

-          segment="&#39;&#10;"

-          segment="’&#10;"

 

And none of them work.

So I don’t know what to do.

 

Hope everyone understands my question as it is not very clear. Please let me know

 

Dao.



__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 5053 (20100423) __________

Le message a été vérifié par ESET NOD32 Antivirus.

http://www.eset.com

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SV: Problems with EDI delimiters in smooks 1.3.1 version

Tom Fennelly
Hi Dao.

Looks like you're processing UN/EDIFACT messages there. You might be
interested in what we're doing in v1.4 wrt UN/EDIFACT:
http://smooks.org/mediawiki/index.php?title=V1.4:Smooks_v1.4_User_Guide#UN.2FEDIFACT

This is still a work in progress, but is already quite useful imo.

T.



Bård Langöy wrote:

>
> Hi Dao,
>
> Try typing the delimiter ” &#39;!$”. The !$ tells the EdiParser
> (BufferedSegmentReader) to ignore newlines.
>
> Regards,
>
> Bård
>
> *Från:* Huynh Dao [mailto:[hidden email]]
> *Skickat:* den 23 april 2010 16:49
> *Till:* [hidden email]
> *Ämne:* [milyn-user] Problems with EDI delimiters in smooks 1.3.1 version
>
> Hi,
>
> I’m new to Smooks and I can’t find the way to resolve this thing.
>
> When I declared my EDI delimiters like that:
>
> <medi:delimiters segment=/"&#39;"/ field=/"+"/ component=/":"/
>
> sub-component=/":"/ escape=/"?"/ />
>
> It doesn’t work.
>
> But the point is that my EDI input file’s got a “ ‘ “ as a final
> delimiters.
>
> Here’s an excerpt:
>
> UNH+1+INVOIC:D:96A:UN:FTW100'
>
> BGM+380+029065817+9'
>
> DTM+3:20091031:102'
>
> I tried :
>
> - segment=/"’&#39;&#10;"/
>
> - segment=/"&#39;&#10;"/
>
> - segment=/"’&#10;"/
>
> And none of them work.
>
> So I don’t know what to do.
>
> Hope everyone understands my question as it is not very clear. Please
> let me know
>
> Dao.
>
>
>
> __________ Information provenant d'ESET NOD32 Antivirus, version de la
> base des signatures de virus 5053 (20100423) __________
>
> Le message a été vérifié par ESET NOD32 Antivirus.
>
> http://www.eset.com
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Problems with EDI delimiters in smooks 1.3.1 version

Huynh Dao
In reply to this post by Bård Langöy

Thank you Bård ! It works !~

 

 

 


De : Bård Langöy [mailto:[hidden email]]
Envoyé : vendredi 23 avril 2010 17:08
À : [hidden email]
Objet : SV: [milyn-user] Problems with EDI delimiters in smooks 1.3.1 version

 

Hi Dao,

 

Try typing the delimiter ” &#39;!$”. The !$ tells the EdiParser (BufferedSegmentReader) to ignore newlines.

 

Regards,

Bård

 

Från: Huynh Dao [mailto:[hidden email]]
Skickat: den 23 april 2010 16:49
Till: [hidden email]
Ämne: [milyn-user] Problems with EDI delimiters in smooks 1.3.1 version

 

Hi,

 

I’m new to Smooks and I can’t find the way to resolve this thing.

When I declared my EDI delimiters like that:

 

      <medi:delimiters segment="&#39;" field="+" component=":"

            sub-component=":" escape="?" />

 

It doesn’t work.

 

But the point is that my EDI input file’s got a “ ‘ “ as a final delimiters.

Here’s an excerpt:

 

UNH+1+INVOIC:D:96A:UN:FTW100'

BGM+380+029065817+9'

DTM+3:20091031:102'

 

I tried :

 

-          segment="’&#39;&#10;"

-          segment="&#39;&#10;"

-          segment="’&#10;"

 

And none of them work.

So I don’t know what to do.

 

Hope everyone understands my question as it is not very clear. Please let me know

 

Dao.



__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 5053 (20100423) __________

Le message a été vérifié par ESET NOD32 Antivirus.

http://www.eset.com



__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 5053 (20100423) __________

Le message a été vérifié par ESET NOD32 Antivirus.

http://www.eset.com



__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 5056 (20100424) __________

Le message a été vérifié par ESET NOD32 Antivirus.

http://www.eset.com
Loading...