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
Greg GohlkeSubject: EDI Specs Not Complete
Author: Greg Gohlke
Date: 28 Mar 2006 01:23 PM
I recently purchased the Enterprise edition of Stylus Studio specifically for the ability to create well formed XML schemas based on the .x12 EDI specifications. I have discovered though that the EDI to XML converter is not creating complete XML schema. For example elements are included in the conversion without min and max lengths and without data types being specified. For the project I am working on it is very important to have all of that information. Are there any plans to finish this functionality or is this possibly some mistake on my part.

For a specifc example I created the 850 document in version 5010 without the unbound parameter for numbers over 99 for Xerxes. I then fed this schema into XML Spy and it informed me the schema was invalid by itself. On furhter investigation I found that there are several elements defined as a simple type with and empty restriction node where at the very least it sould contain a base data type and minLength and maxLength. Specifically EFI13 and EFI14 which are element type 787 and 788 respectively. My other developers have informed me that there are other descrepencies as well. I can gather examples of all if it would help.

Thanks for any insight you can give me on this. I think I have a way to get around this, if fixes are not slated at your end, but I do not want to delay my project coding that, if I do not have to.

Postnext
(Deleted User) Subject: EDI Specs Not Complete
Author: (Deleted User)
Date: 28 Mar 2006 03:07 PM
Hi, Greg. Yes, we're aware of this problem and we will have a fix shortly. If you can tell us what version of Stylus Studio you are using (Help> About), we'll send you a preview of the update as soon as it's available.

Sorry for the trouble.

David Foster
Stylus Studio Team

Postnext
Greg GohlkeSubject: EDI Specs Not Complete
Author: Greg Gohlke
Date: 28 Mar 2006 03:15 PM
Thanks for the quick response. I am very happy to hear this is already on your radar. I am using Build 501i.

Greg

Postnext
(Deleted User) Subject: EDI Specs Not Complete
Author: (Deleted User)
Date: 28 Mar 2006 03:52 PM
Hi, Greg. Here you go:

1. Shut down Stylus Studio.
2. Copy this file to the \bin directory where you installed Stylus Studio:

http://download.stylusstudio.com/stylusstudio/downloads/tests/rc501j/X12.jar

3. Restart Stylus Studio, and you should be all set.

David Foster
Stylus Studio Team

Postnext
Greg GohlkeSubject: EDI Specs Not Complete
Author: Greg Gohlke
Date: 29 Mar 2006 09:50 AM
I'm sorry, before I saw this last post I received an email about release 2 so I downloaded it and installed this morning. I am now using build 591b. Is this jar still safe to use with that newer version?

I will wait to hear from you before trying to install the new x12 jar.

Postnext
Minollo I.Subject: EDI Specs Not Complete
Author: Minollo I.
Date: 29 Mar 2006 10:20 AM
If you are running BL591b, please use:
http://download.stylusstudio.com/stylusstudio/downloads/tests/rc591c/X12.jar

Thanks,
Minollo

Postnext
Greg GohlkeSubject: EDI Specs Not Complete
Author: Greg Gohlke
Date: 29 Mar 2006 10:48 AM
Thanks. I downloaded and installed the jar. I just tested this by creating a new schema and it does correctly assign the data type of the element which is great, but it still does not correctly assign the minLength and maxLength allowable for the value. I looked into the .properties files in the jar I downloaded and it appears as if the min and max values are represented there, they are just not coming across into the schema.

Postnext
Tony LavinioSubject: EDI Specs Not Complete
Author: Tony Lavinio
Date: 29 Mar 2006 11:04 AM
We don't set the min and max lengths because that datatype is based
on xsd:decimal, and according to
http://www.w3.org/TR/xmlschema-2/#decimal-facets
those aren't valid facits for decimals.

We tried setting the totalDigits facit, but it turns out that many
XSD processors validate based on the lexical space instead of the
value space, so what should be valid data is in fact rejected.
See http://www.w3.org/TR/xmlschema-2/#rf-totalDigits

Assuming that you haven't disabled validation at the adapter level
with one of the URI switches, the EDI adapter should check the lengths
when writing the data back into EDI format.

Postnext
Greg GohlkeSubject: EDI Specs Not Complete
Author: Greg Gohlke
Date: 05 Apr 2006 09:50 AM
Why not just add these attributes to the Numeric derived type? I also noticed that the enumeration for the GS08 element does not allow for UCS, VICS, etc. Will that be added in the future? Hope I am not being a bother, I am just trying to wrap my head around all the possibilities of your product so I can write a better application.

Posttop
Tony LavinioSubject: EDI Specs Not Complete
Author: Tony Lavinio
Date: 05 Apr 2006 08:28 PM
> Why not just add these attributes to the Numeric derived type?

Adding them won't help; minLength and maxLength are ignored by
xml schema validators for xsd:decimal.

> I also noticed that the enumeration for the GS08 element does not
> allow for UCS, VICS, etc. Will that be added in the future?

What would you like to see? How would you like to see UCS, VICS,
or something else handled?

We've currently implemented only the X12 specifications that come from
DISA and are part of the base spec. The problem is that for many of
the standards, you must purchase the standard and/or become a member of
the associated organization, and that requires a business case.

Currently, we support EDIFACT, IATA and X12. We allow you to extend
the schema, and turn off the portion of validation that would keep
you from using your changes, so that we don't force you to use just
what we've implemented inside of the product. For example, see
http://www.stylusstudio.com/docs/v2006/d_flatfileconversion39.html

 
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.