multiplicity not validated by SAX ?

Discussion in 'XML' started by Koen, May 15, 2007.

  1. Koen

    Koen Guest

    Hi,

    I'm using SAX to parse an xml instance document. When I have the XMLReader validate the document
    against an xsd by using setFeature("http://xml.org/sax/features/validation", true), errors in the
    multiplicity of elements are not reported, other errors are reported. Is this by design? These
    actual errors are reported by XMLSpy however.

    The SAXParser used is com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.

    Koen
    Koen, May 15, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DesignerX
    Replies:
    2
    Views:
    455
    Teemu Keiski
    Jul 24, 2003
  2. mallik
    Replies:
    3
    Views:
    752
    =?Utf-8?B?bG9uZG9uIGNhbGxpbmc=?=
    Jul 7, 2005
  3. Steve Murphy

    Highlight Required Field When Not Validated

    Steve Murphy, Jul 28, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    847
    Steve Murphy
    Aug 2, 2005
  4. Owen
    Replies:
    1
    Views:
    12,881
    S. Justin Gengo
    Sep 12, 2005
  5. rantingrick
    Replies:
    3
    Views:
    306
    Chris Angelico
    Jul 15, 2011
Loading...

Share This Page