This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
There is an ArrayIndexOutOfBoundsException while Decoding an XML Schema message which is having the values with each record separated by LF&CR. Please find the attached .xsd and input file in the attachment.. note: This abnormal behavior is occuring only in Mac Leopard Intel 32 bit OS. Details: Build Used : 20081014-1633 OS verified: Win XP SP2/SP3 = PASS Mac Leopard Intel 32 bit = FAIL
Created attachment 71840 [details] input file
Created attachment 71841 [details] expected decoded output xml file
Created attachment 71842 [details] XML Schema file .xsd
Would you please file XML related issues to xml component instead of enterprise one ?
How do you use the endode/decode functionality. We do not provide any such functionality. Can you explain in detail how do you use that? Are you using some external plug-in or something? Or do you get this functionality in NB distributions?
I'm using GlassFishESB build which comes with NetBeans6.1 patch4. This build also comes with the 'Encoder' components like, HL7, CustomEncoder, etc., So, Decoding/Encoding functionalities are comes under these components. Here, Encoding/Decoding functionality is comes under these components. Please find the steps below "How to Use", 1) create New Project - (SOA --> BpelModule) 2) create XML Schema under 'Process Files' tree - (right-click on 'Process Files', choose 'XML Schema' or Others) - once created the XML Schema, define the Message Structure (sample schema is already available in attachment) 3) Perform Decoding (right-click on .xsd file, choose 'Encoding' then click on 'Test') - The 'Test Encoding' window will appear. Perform Decoding by providing input file(available in attachment) note: This abnormal behavior is occurring only in Mac Leopard Intel 32bit platform.