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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Problem with xmldso.java compiling MSXMLJavaParser 1.8

[ Lists Home | Date Index | Thread Index ]
  • From: Brian Dister <bdister@macromedia.com>
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 02 Apr 1997 10:53:02 -0800

Newbie question.

I cannot get the msxml java parser 1.8 to build in VJ++ 1.1. I upgraded to
the 1.02.7315 compiler, but then get problems compiling xmldso.java as
described below previously and included at the bottom. Anyone know the
solution?

<<<<<<
 Even worse, I can't re-compile MSXML in J++. I stuck in the first file --
com.ms.xml.dso.XMLDSO.java. The error messages are all in the same type:
Value for argument 'parent' cannot be converted from 'int' in call
to 'Element ElementFactory.createElement(Element parent, int type, Name tag,
String text)'


The statement in XMLDSO.java is:
e = factory.createElement(Element.ELEMENT,
XMLRowsetProvider.nameROWSET);
It doesn't look right but I don't know how MS can make *.class from it (or I
missed something?).


Has anyone tried to recompile it and succeeded.
>>>>

--------------------Configuration: XMLJavaParser - Java Virtual Machine
Release--------------------
Compiling...
Microsoft (R) Visual J++ Compiler Version 1.02.7315
Copyright (C) Microsoft Corp 1996-1997. All rights reserved.
classes\com\ms\xml\parser\Parser.java(612,20) : warning J5014: 'boolean
isSpace(char)' has been deprecated by the author of 'java.lang.Character'
classes\com\ms\xml\parser\Parser.java(188,41) : warning J5014:
'PrintStream(OutputStream)' has been deprecated by the author of
'java.io.PrintStream'
classes\com\ms\xml\dso\XMLDSO.java(638,30) : warning J5014: 'Dimension
size()' has been deprecated by the author of 'java.awt.Component'
classes\com\ms\xml\dso\XMLDSO.java(759,85) : error J0080: Value for
argument 'parent' cannot be converted from 'int' in call to 'Element
ElementFactory.createElement(Element parent, int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(759,85) : error J0080: Value for
argument 'type' cannot be converted from 'Name' in call to 'Element
ElementFactory.createElement(Element parent, int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(759,85) : error J0077: Not enough
arguments for method 'Element ElementFactory.createElement(Element parent,
int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(763,85) : error J0080: Value for
argument 'parent' cannot be converted from 'int' in call to 'Element
ElementFactory.createElement(Element parent, int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(763,85) : error J0080: Value for
argument 'type' cannot be converted from 'Name' in call to 'Element
ElementFactory.createElement(Element parent, int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(763,85) : error J0077: Not enough
arguments for method 'Element ElementFactory.createElement(Element parent,
int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(1066,72) : error J0080: Value for
argument 'parent' cannot be converted from 'int' in call to 'Element
ElementFactory.createElement(Element parent, int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(1066,72) : error J0080: Value for
argument 'type' cannot be converted from 'Name' in call to 'Element
ElementFactory.createElement(Element parent, int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(1066,72) : error J0077: Not enough
arguments for method 'Element ElementFactory.createElement(Element parent,
int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(1072,82) : error J0080: Value for
argument 'parent' cannot be converted from 'int' in call to 'Element
ElementFactory.createElement(Element parent, int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(1072,82) : error J0080: Value for
argument 'type' cannot be converted from 'Object' in call to 'Element
ElementFactory.createElement(Element parent, int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(1072,82) : error J0077: Not enough
arguments for method 'Element ElementFactory.createElement(Element parent,
int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(917,73) : error J0080: Value for
argument 'parent' cannot be converted from 'int' in call to 'Element
ElementFactory.createElement(Element parent, int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(917,73) : error J0080: Value for
argument 'type' cannot be converted from 'Name' in call to 'Element
ElementFactory.createElement(Element parent, int type, Name tag, String text)'
classes\com\ms\xml\dso\XMLDSO.java(917,73) : error J0077: Not enough
arguments for method 'Element ElementFactory.createElement(Element parent,
int type, Name tag, String text)'
Error executing jvc.exe.

XMLJavaParser - 15 error(s), 3 warning(s)



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