W3C home > Mailing lists > Public > www-dom-ts@w3.org > January 2003

casting to a short

From: Jeroen van Rotterdam <jvrdam@xs4all.nl>
Date: Sun, 12 Jan 2003 23:09:37 +0100 (CET)
Message-ID: <24207.62.163.200.245.1042409377.squirrel@webmail.xs4all.nl>
To: www-dom-ts@w3.org
('us-ascii' encoding is not supported, stored as-is) Attached a really simple test which creates a DOMBuilder. Compiling fails since it should be: builder = lsImplementation.createDOMBuilder((short)1,schemaType); instead of: builder = lsImplementation.createDOMBuilder(1,schemaType); How do you cast the constant to a short within the test ? Thanks in advance, jeroen ===== X-Hive Corporation Jeroen van Rotterdam, CEO e-mail: jeroen@x-hive.com phone: +31 10 7108600 http://www.x-hive.com

Received on Sunday, 12 January 2003 17:09:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:06 UTC