You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Ralf Pfeiffer <ri...@bevocal.com> on 2000/04/14 05:35:28 UTC

FloatValidator?

The FloatValidator is in the source, but not in the Makefile, so it
doesn't
get into the jar on make. ?

When I invoke:
parser.setFeature("http://xml.org/sax/features/validation", false);

I get:
java.lang.NoClassDefFoundError:
org/apache/xerces/validators/datatype/FloatValid
ator
        at
org.apache.xerces.validators.schema.XSchemaValidator$DatatypeValidato
rRegistry.initializeRegistry(XSchemaValidator.java, Compiled Code)
        at
org.apache.xerces.validators.schema.XSchemaValidator.<init>(XSchemaVa
lidator.java:228)
        at
org.apache.xerces.framework.XMLParser.getSchemaValidator(XMLParser.ja
va:1127)
        at
org.apache.xerces.framework.XMLParser.setValidation(XMLParser.java:72
3)
        at
org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1400)

        at
org.apache.xerces.parsers.DOMParser.setFeature(DOMParser.java:659)



Re: FloatValidator?

Posted by Mike Pogue <mp...@apache.org>.
Hey, Ralf!  Switch to the Xerces-J list, OK?

Mike

Ralf Pfeiffer wrote:
> 
> The FloatValidator is in the source, but not in the Makefile, so it
> doesn't
> get into the jar on make. ?
> 
> When I invoke:
> parser.setFeature("http://xml.org/sax/features/validation", false);
> 
> I get:
> java.lang.NoClassDefFoundError:
> org/apache/xerces/validators/datatype/FloatValid
> ator
>         at
> org.apache.xerces.validators.schema.XSchemaValidator$DatatypeValidato
> rRegistry.initializeRegistry(XSchemaValidator.java, Compiled Code)
>         at
> org.apache.xerces.validators.schema.XSchemaValidator.<init>(XSchemaVa
> lidator.java:228)
>         at
> org.apache.xerces.framework.XMLParser.getSchemaValidator(XMLParser.ja
> va:1127)
>         at
> org.apache.xerces.framework.XMLParser.setValidation(XMLParser.java:72
> 3)
>         at
> org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1400)
> 
>         at
> org.apache.xerces.parsers.DOMParser.setFeature(DOMParser.java:659)

Re: FloatValidator?

Posted by Andy Clark <an...@apache.org>.
Ralf Pfeiffer wrote:
> The FloatValidator is in the source, but not in the Makefile, so it
> doesn't get into the jar on make. ?

Stop complaining and just commit the changes. ;)

-- 
Andy Clark * IBM, JTC - Silicon Valley * andyc@apache.org