OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Vertical bar character

[ Lists Home | Date Index | Thread Index ]
  • From: Peter Murray-Rust <peter@ursus.demon.co.uk>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 05 Dec 1997 11:14:00

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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS