[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Vertical bar character
I am building a module to parse DTD content models and have a strange (to me) problem on java DOS with the vertical bar character in the command line. I am using W95, JDK1.02 and the DOS prompt window. I type: java jumbo.sgml.ContentChunk (A|B) using the 'vertical bar' character on my keyboard (the 'or' symbol in Java/C). I assume this has decimal value 124 (from 'man ascii'). Under jview, this character is created with a value of 166. Under java it is created with a value of -90 If I quote the argument under java (i.e. "(A|B)" ), I get a value of 65446 [corresponds to 2^16 - 90] A - is this symptomatic of a general problem (e.g. something in Unicode). B - how can I 'quote' a '|' symbol in the DOS commandline? P. There is also a character 214 whose glyph seems to be a vertical bar with a break in it. I assume this is unrelated to the problem (even though it is what my keyboards display :-) P. Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic net connection VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary http://www.venus.co.uk/vhg xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|