[NeXus-code-tickets] [NeXusCode] #83: The Java function NeXusFile has a problem

NeXus Data Format Library and Applications noreply at nexusformat.org
Wed Jun 6 10:51:23 BST 2007


#83: The Java function NeXusFile has a problem
--------------------+-------------------------------------------------------
 Reporter:  Rwong   |       Owner:  Freddie Akeroyd
     Type:  defect  |      Status:  new            
 Priority:  major   |   Milestone:                 
Component:  napi    |     Version:  4.0.0          
 Keywords:          |  
--------------------+-------------------------------------------------------
 I have installed nexus-4.0.0 on a 64-bit Linux machine.
 The 'C' version of Nexus4.0.0 works OK but I think there is a problem with
 the java version of the function NeXusFile(). It provides some non-
 standard character when it is executed.

 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 The error message of running the test program TestJapi:

 Testing XML
 Exception handling mechanism works
  *** Writing Tests passed with flying banners
 NexusException: Bad control character 0x06 not allowed by XML standard!
 Occurred
 org.nexusformat.NexusException: Bad control character 0x06 not allowed by
 XML standard!
         at org.nexusformat.NexusFile.init(Native Method)
         at org.nexusformat.NexusFile.<init>(NexusFile.java:130)
         at TestJapi.main(TestJapi.java:168)

 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 The contents of the file "japitest.xml" which is produced by the test
 program "TestJapi.java":

 <?xml version="1.0" encoding="UTF-8"?>
   <NXroot NeXus_version="4.0.0" XML_version="mxml"
 file_name="japitest.xml" file_time="2007-06-06 10:35:43+0000">
     <NXentry name="entry1">
       <iData1 NAPItype="NX_INT32[3,10]" Units="MegaFarts^FCH5"

                                                         / \
                                                          |
 *******************************strange characters here-- |

 The LinuxOS is
 Linux ngs.rl.ac.uk 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:24:31 EDT 2006
 x86_64 x86_64 x86_64 GNU/Linux

-- 
Ticket URL: <http://trac.nexusformat.org/code/ticket/83>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications



More information about the NeXus-code-tickets mailing list