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
Brett StringhamSubject: .RENAME section not loaded correctly
Author: Brett Stringham
Date: 19 Sep 2012 05:48 PM
Originally Posted: 19 Sep 2012 05:16 PM
I'm attaching a file "CustomX12-OriginalFile.sef" that contains element references in the "CUSTOM_SEG" segment that have values supplied for the "Rename XML Node" property. For example, XML node for the 10th element has been renamed to "FIELD12" (see attached SEF file in the .RENAME section). However, when this file is loaded into Stylus Studio the "Rename XML Node" property for the 10th element reference in the "CUSTOM_SEG" segment is blank. In fact, the 11th thru 15th elements also have their "Rename XML Node" blanked out even though data is present in the .RENAME section in the SEF file.

Since Stylus Studio loads the .RENAME section incorrectly the SEF file, if saved, without making any changes results in a SEF with altered data in the .RENAME section. To replicate this, first open CustomX12-OriginalFile.sef into Stylus Studio. Without making any changes, save the file as CustomX12-OriginalFile-Bug.sef. Now use a file compare tool and you'll see that the contents of the .RENAME section have been altered.

The above has been observed in both Stylus Studio X14 and Stylus Studio X14 R2.


UnknownCustomX12-OriginalFile.sef
SEF file with renamed nodes

UnknownMissing_Value_In_RenameXMLNode.PNG
Screen shot showing missing value node n

Postnext
Ivan PedruzziSubject: .RENAME section not loaded correctly
Author: Ivan Pedruzzi
Date: 20 Sep 2012 10:48 AM

Hi Brett,

Sorry to be late on this.

Which Stylus Studio build number are you running (Help->About->Framework Version)?

We would like to have a sample of the EDI transaction you are using in the scenario.If you cannot post here please send it as zip to

stylussupport@ivitechnologies.com

Thanks for your help
Ivan Pedruzzi
Stylus Studio Team

Posttop
Brett StringhamSubject: .RENAME section not loaded correctly
Author: Brett Stringham
Date: 25 Sep 2012 03:31 PM
Originally Posted: 25 Sep 2012 01:41 PM
Hi Ivan - I'm using build 1893f. I'm attaching a zip file that contains 4 files. I created a more simplified SEF to demonstrate the the issue. The SEF in the zip file has a custom segment with 12 fields. I've renamed the XML node for each field to be the same as the element name. For example the node name for the element FIELD1 is FIELD1, FIELD2 is FIELD2, etc. If you open this SEF in Stylus Studio, you'll notice that FIELD10, FIELD11, FIELD12 have blank in the "Rename XML Node" property even thought the SEF clearly shows the element should have a value. During my observation of this issue, it appears that all element 10th and beyond get the "Rename XML Node" value blanked out upon re-opening the SEF.

The problem for us is we have a large custom SEF file and any time we open it to make minor changes, we have to go through all elements and re-enter the "Rename XML Node" values. Which can be huge challenge given the our custom SEF has 100s of elements. The sample SEF in the attached ZIP is only a basic sample to demonstrate the issue.


UnknownStylusLoadSEFBug.zip
Sample SEF w/ data and screen shots

 
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.