You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Martin Welch <mw...@totalise.co.uk> on 2001/02/21 09:15:58 UTC

Getting started ...

I'm an xerces newbie and a java beginner (with extensive C++ background) so
please bear with me.

I'm using Forte 2, jdk1.3 on W2K SP1.

I've downloaded the xerces source and tried to compile it and I'm hitting a
couple of errors. I've looked at the web site and FAQ with nothing obvious
except I'm using jdk1.3. Is that the problem?

Here's the errors:

org/apache/xerces/validators/common/XMLValidator.java [2,468:1] No method
found matching setGrammarDocument(Document)
               grammar.setGrammarDocument(document);

org/apache/xerces/validators/datatype/DatatypeValidatorFactoryImpl.java
[432:1] Statement not reached.
        return validator;

I'd appreciate any pointers.

Thanks.

Martin


Re: Getting started ...

Posted by Martin Welch <mw...@totalise.co.uk>.
I don't need to set the classpath according to the readme:

<quote>
3.1 Building on Windows Platform
If your JDK is properly installed on your system, you do not need to set any
CLASSPATH to build Xerces. If you have one, make sure it does not end with a
'\' or it will cause the build to fail

</quote>

What would you suggest?

Thanks for your help.

Martin
----- Original Message -----
From: "Scott Coleman" <sc...@12snap.com>
To: <xe...@xml.apache.org>
Sent: Wednesday, February 21, 2001 10:03 AM
Subject: Re: Getting started ...


> The obvious questions first, is your classpath set correctly either via
> the environment variable or the -classpath option. The classpath will be
> searched in the order the directories or jars are placed in the classpath.
>
> Scott
>
> Martin Welch wrote:
>
> > I'm an xerces newbie and a java beginner (with extensive C++ background)
> > so
> > please bear with me.
> >
> > I'm using Forte 2, jdk1.3 on W2K SP1.
> >
> > I've downloaded the xerces source and tried to compile it and I'm
> > hitting a
> > couple of errors. I've looked at the web site and FAQ with nothing
> > obvious
> > except I'm using jdk1.3. Is that the problem?
> >
> > Here's the errors:
> >
> > org/apache/xerces/validators/common/XMLValidator.java [2,468:1] No
> > method
> > found matching setGrammarDocument(Document)
> >                grammar.setGrammarDocument(document);
> >
> > org/apache/xerces/validators/datatype/DatatypeValidatorFactoryImpl.java
> > [432:1] Statement not reached.
> >         return validator;
> >
> > I'd appreciate any pointers.
> >
> > Thanks.
> >
> > Martin
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>


Re: Getting started ...

Posted by Scott Coleman <sc...@12snap.com>.
The obvious questions first, is your classpath set correctly either via 
the environment variable or the -classpath option. The classpath will be 
searched in the order the directories or jars are placed in the classpath.

Scott

Martin Welch wrote:

> I'm an xerces newbie and a java beginner (with extensive C++ background)
> so
> please bear with me.
> 
> I'm using Forte 2, jdk1.3 on W2K SP1.
> 
> I've downloaded the xerces source and tried to compile it and I'm
> hitting a
> couple of errors. I've looked at the web site and FAQ with nothing
> obvious
> except I'm using jdk1.3. Is that the problem?
> 
> Here's the errors:
> 
> org/apache/xerces/validators/common/XMLValidator.java [2,468:1] No
> method
> found matching setGrammarDocument(Document)
>                grammar.setGrammarDocument(document);
> 
> org/apache/xerces/validators/datatype/DatatypeValidatorFactoryImpl.java
> [432:1] Statement not reached.
>         return validator;
> 
> I'd appreciate any pointers.
> 
> Thanks.
> 
> Martin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> 
>