XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + MySQL Connectivity (2)
-> + using .xsd to create forms (3)
-> + Convert-to-XML Engine could no... (2)
-> + editor questions (2)
-> + Cannot connect to SQL server (7)
-> + Convert Cobol file to XML (2)
-> + XML Diff problem (4)
-> + running XSLT - time + memory m... (7)
-> + New wsdl creation (4)
-> + DB to XML Parameters (2)
-> + Help (html in xml) need to out... (8)
-> + Stylesheet questions (2)
-> + Verion 1.0 XPATH for testing "... (5)
-> + Berkely XML DB file system (2)
-> + WYSIWYG in 2007 demo (2)
-> - EDIFACT code list problem (3)
-> ->EDIFACT code list problem
-> ->EDIFACT code list problem
-> + XQuery over a Berkeley XML DB ... (3)
-> + Href and display linked ref. (2)
-> + How my applications can gener... (11)
-> + CLASSPATH (2)
-- Previous [1861-1880] [1881-1900] [1901-1920] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Stefan CuypersSubject: EDIFACT code list problem
Author: Stefan Cuypers
Date: 01 Nov 2006 05:03 AM
I'm currently evaluating Stylus Studio Developer for processing of EDIFACT messages. When opening an EDI file I experience a problem however. The file is an ORDERS D96A message and contains the segment:
PIA+1+46-59-783:SA+46-59-783:GU+46-59-783:IN'
When loading this file using the EDI adapter, we get a Java exception stating the value 'GU' cannot be decoded and the load fails.
The code 'GU' is not part of the EDIFACT standard, but the code list in the standard contains the value 'ZZZ' to indicate other mutually agreed on codes are allowed.
Any idea how we can solve this?



Postnext
Tony LavinioSubject: EDIFACT code list problem
Author: Tony Lavinio
Date: 01 Nov 2006 07:17 AM
There are two ways.

The easiest is that you can disable the option that validates that
each codelist value appear in the standard. In the dialog that comes
up, set "Force error if value not in code list" to "no", which has
the same effect as adding :tbl=no to the url.

The second is there is an extensibility mechanism for codelists.
You can create a file called EDIFACT.properties and put into the
same directory as the EDIFACT.jar file (in the .\bin directory
under where Stylus Studio is installed). In that file you could put
a line like this (assuming the value comes from EANCOM):
*.7143.GU=Supplier's internal article group number/product classification code (EAN Code)

Hope this helps.

Posttop
Stefan CuypersSubject: EDIFACT code list problem
Author: Stefan Cuypers
Date: 01 Nov 2006 11:18 AM
Yes, both solutions work fine.
Thanks.

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.