[Home] [By Thread] [By Date] [Recent Entries]

  • From: Richard Featherstone <R.Featherstone@u...>
  • To: Priscilla Walmsley <priscilla@w...>
  • Date: Tue, 10 Jul 2001 15:19:04 +0100 (BST)


yes changed in both.  So the code works when you run it then?  Do I need
full-schema-checking turned on?

Cheers

Richard 


On Tue, 10 Jul 2001, Priscilla Walmsley wrote:

> >
> > I'm using 1.4 and changed to '2001/XML' but still get
> > 'message' must be
> > declared.
> >
> 
> That's odd.  It validates for me.
> 
> Did you change it to 2001/XML in both the instance and the schema document?
> 
> 
> > Also I had to comment out
> >
> > parser.setFeature(
> > "http://apache.org/xml/features/validation/schema-full-checkin
> > g", false);
> >
> > because I got
> >
> > org.xml.sax.SAXNotRecognisedException:
> > http://apache.org/xml/features/validation/schema-full-checking
> >
> > error message.  Do I need this feature for it to work?
> >
> 
> I don't think you need that feature for it to be able to find a declaration
> for "message." I'm not sure why you got that error, though.  I am using the
> DOMCount sample that comes with Xerces and the feature works fine for me.
> 
> 
> Priscilla Walmsley
> Vitria Technology
> 
> 


  • References:
    • RE:
      • From: Priscilla Walmsley <priscilla@w...>
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member