Problem 862

Summary: vrml export pv_name contains null characters
Product: Geant4 Reporter: alex.stewart
Component: visualization/VRMLAssignee: perl
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: other   
Hardware: All   
OS: All   

Description alex.stewart 2006-04-20 14:25:33 CEST
I maintain a vrml/x3d browser for Linux/Unix. A user submitted a vrml file
generated by geant. It contains many lines like:

#---------- SOLID: av_1_impr_1_/t2k/OA/Magnet/LeftClam/CoilTopFrontBend_pv_0^@.1

where the "^@" is actually a null character. (0x00 in hexadecimal)

Null characters are used in Unix (OSX, Linux) to signify end of string.

I suggest changing the code to remove this null character. It affects the
way FreeWRL operates, and it may also affect the way other programs
interpret the output of Geant4.

John Stewart
CRC Canada
http://www.crc.ca/FreeWRL
Comment 1 perl 2009-11-25 06:38:14 CET
Was resolved in 2006