Skip to Content.
Sympa Menu

mace-opensaml-users - RE: Schema Validation

Subject: OpenSAML user discussion

List archive

RE: Schema Validation


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: <>
  • Subject: RE: Schema Validation
  • Date: Thu, 21 Jun 2007 11:13:13 -0400
  • Organization: The Ohio State University

> I am using java OpenSAML version is 2.0

Nothing you're describing is in 2.0, so I think you're confused.

And schema validation is mandatory in opensaml 1.1, you cannot turn it off
or you will crash the code on invalid data.

> > In OpenSaml, we came across two ways, which seems like play role in
> controlling the SAML schema validation.
> >
> > One is the strict-dom-checking flag which is accessible through
> getBooleanProperty() call. The other is
> DOMParser.setFeature("http://xml.org/sax/features/validation";, true).

Neither is relevant. The first has to do with sanity checking inputs and has
nothing to do with validation. The latter is not exposed because you MUST
use the supplied parsing operations that come with the library or you are
not using supported mechanisms. Only the parser objects I create are setup
properly to locate schemas and so forth.

-- Scott





Archive powered by MHonArc 2.6.16.

Top of Page