Jyoti

I'm afraid that the Virtual XML Garden is pretty old now and the people who worked on the dfdl function are no longer around. I don't think it is worth you spending any time trying to make it work.

Alan Powell

MP 211, IBM UK Labs, Hursley,  Winchester, SO21 2JN, England
Notes Id: Alan Powell/UK/IBM     email: alan_powell@uk.ibm.com  
Tel: +44 (0)1962 815073                  Fax: +44 (0)1962 816898



From: Jyotishman Pathak <jyotishman.mayo@gmail.com>
To: Alan Powell/UK/IBM@IBMGB, dfdl-wg@ogf.org
Date: 10/03/2009 14:19
Subject: Errors in Running VirtualXML Example





Hello all,

I have been trying to play with virtualxml sample examples, and in particular, the example about Binary Data (cionverting the byte sequence as XML data). Now, if I try to run the example usign the "some-binary.data" file provided with the VirtualXML release, everything works fine.

However, if I try to generate this data file using the C program ("some-binary.c") provided with the release, I get the following exception:

Exception in thread "main" java.lang.RuntimeException: com.ibm.xml.xq.virtual.dfdl.DFDLException: XX0000: unknown (Could not complete contents.)
        at com.ibm.xml.xq.virtual.dfdl.DFDLInputMediator.buildChild(DFDLInputMediator.java:473)
        at com.ibm.xml.xq.virtual.dfdl.DFDLInputMediator.buildNext(DFDLInputMediator.java:154)
        at com.ibm.xml.xq.dm.cache.CacheManager.getCachedFollowingSibling(CacheManager.java:403)
        at com.ibm.xml.xq.dm.cache.dom.DOMCachedNode.getCachedFollowingSibling(DOMCachedNode.java:235)
        at com.ibm.xml.xq.dm.cache.CacheFocus.toNext(CacheFocus.java:420)
        at com.ibm.xml.xq.dm.util.Copier.copySequence2Content(Copier.java:209)
        at com.ibm.xml.xq.dm.util.Copier.copyContents(Copier.java:279)
        at com.ibm.xml.xq.dm.util.Copier.copySequence2Content(Copier.java:214)
        at com.ibm.xml.xq.dm.util.Copier.copyContents(Copier.java:279)
        at com.ibm.xml.xq.dm.util.Copier.copySequence2Content(Copier.java:206)
        at com.ibm.xml.xq.dm.util.Copier.copy(Copier.java:119)
        at com.ibm.xml.xq.dm.util.Copier.copy(Copier.java:71)
        at com.ibm.xml.xq.processor.Run.output(Run.java:442)
        at com.ibm.xml.xq.processor.Run.run(Run.java:408)
        at com.ibm.xml.xq.virtual.Virtual.main(Virtual.java:52)
Caused by: com.ibm.xml.xq.virtual.dfdl.DFDLException: XX0000: unknown (Could not complete contents.)
        at com.ibm.xml.xq.virtual.dfdl.DFDLInputMediator.buildChild(DFDLInputMediator.java:469)
        ... 14 more


I have tried executing this example in both windows and linux platforms, but with no success.

Could you please assist me?

Thanks,
- Jyoti








Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU