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 149325 - Any-order Fields
Summary: Any-order Fields
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Venkat Chellasamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-07 08:44 UTC by jm206997
Modified: 2008-10-17 09:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen-shot (152.24 KB, text/plain)
2008-10-07 08:47 UTC, jm206997
Details
sample XML Schema file + input file+encoded output file (1.24 KB, text/plain)
2008-10-07 08:49 UTC, jm206997
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jm206997 2008-10-07 08:44:46 UTC
There is an UnMarshalException(reason=parent delimiter already reached) while decoding an XML Schema message. It has an
2 fixedLength fields under repeated group node. The fixedLength fields has the match property set.

please find the screen-shot in the attachment, and sample XML Schema file with input file also attached.

Build used : 20081003-2144

Exception:
javax.xml.transform.TransformerException: com.sun.encoder.runtime.UnmarshalException: Parse failed with
data=[<SOD>ABBABABAAB<EOD><POS>] for node name='{http://xml.netbeans.org/schema/customenc}two' after last matched
path=0[5]: Failed node parse, reason=parent delimiter already reached.
	at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:718)
	at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
	at org.netbeans.modules.encoder.ui.tester.impl.EncoderTestTaskImpl.decode(EncoderTestTaskImpl.java:123)
	at org.netbeans.modules.encoder.ui.tester.impl.EncoderTestPerformerImpl.process(EncoderTestPerformerImpl.java:297)
	at org.netbeans.modules.encoder.ui.tester.impl.EncoderTestPerformerImpl.actionPerformed(EncoderTestPerformerImpl.java:143)
	at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1106)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.Component.processMouseEvent(Component.java:6038)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
	at java.awt.Component.processEvent(Component.java:5803)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4410)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
	at java.awt.Container.dispatchEventImpl(Container.java:2102)
Comment 1 jm206997 2008-10-07 08:47:13 UTC
Created attachment 71261 [details]
screen-shot
Comment 2 jm206997 2008-10-07 08:49:08 UTC
Created attachment 71262 [details]
sample XML Schema file + input file+encoded output file
Comment 3 ltang 2008-10-14 21:46:58 UTC
fixed and checked into open-jbi-components (java.net).
Comment 4 jm206997 2008-10-17 09:16:34 UTC
Verified the fix using the build 20081016. Observed that the Decoding is working fine with the expected result.
Hence closing this ticket.