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.

Bug 150195 - Comma-separated values, each record separated by LF&CR
Summary: Comma-separated values, each record separated by LF&CR
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-15 11:05 UTC by jm206997
Modified: 2008-11-21 07:05 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
input file (28 bytes, text/plain)
2008-10-15 11:06 UTC, jm206997
Details
expected decoded output xml file (306 bytes, text/plain)
2008-10-15 11:06 UTC, jm206997
Details
XML Schema file .xsd (3.63 KB, text/plain)
2008-10-15 11:07 UTC, jm206997
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jm206997 2008-10-15 11:05:12 UTC
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
Comment 1 jm206997 2008-10-15 11:06:02 UTC
Created attachment 71840 [details]
input file
Comment 2 jm206997 2008-10-15 11:06:48 UTC
Created attachment 71841 [details]
expected decoded output xml file
Comment 3 jm206997 2008-10-15 11:07:19 UTC
Created attachment 71842 [details]
XML Schema file .xsd
Comment 4 Sergey Lunegov 2008-10-15 11:27:56 UTC
Would you please file XML related issues to xml component instead of enterprise one ?
Comment 5 Samaresh Panda 2008-11-17 16:34:12 UTC
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?
Comment 6 jm206997 2008-11-21 07:02:48 UTC
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.
Comment 7 jm206997 2008-11-21 07:03:38 UTC
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.