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
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Java BearSubject: Optional values (ZZ1) causes error when converting to EDI to XML
Author: Java Bear
Date: 14 Feb 2007 09:23 AM
I am having problems using the "Convert to XML using adapter" option on certain files that I try to open. I am using the "Electronic Data Interchange (EDI)" converter on an EDI file, and get an IOException error decoding value "ZZ1". I have been looking for a description of the standard which is D93A, but are not able to see this value clearly specified. Is this part of the EDI standard D93A? Is there perhaps an option in the converter, so that it is not validated?

Postnext
Tony LavinioSubject: Optional values (ZZ1) causes error when converting to EDI to XML
Author: Tony Lavinio
Date: 14 Feb 2007 05:05 PM
There are lots of ways to handle this.

But first, ZZ1 is not a standard value for any of the elements
in the D93A EDIFACT standard.

You can turn off table-lookup validation for everything in
the file by specifying tbl=no on the URL. But that's overkill.

You can create a file that lives in the same directory as the
EDIFACT.jar file that came with Stylus Studio. Call it
EDIFACT.properties, and put in one line that looks like this:

D93A.???.ZZ1=something

You'll have to know which element was failing on the ZZ1 lookup,
and put the name of that element where the ??? is above. You can
also put a description of what ZZ1 means where the 'something' is.

Typically values beginning with ZZ or ZZZ are mutually defined by
the sender and receiver to mean something that isn't covered in the
standard.

Posttop
Java BearSubject: Optional values (ZZ1) causes error when converting to EDI to XML
Author: Java Bear
Date: 14 Feb 2007 05:59 PM
Thanks for the quick and good reply!

Looks like there is good flexibility in this excellent product!


 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
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.