mace-opensaml-users - Detecting "xsi:nil" in AttributeValue
Subject: OpenSAML user discussion
List archive
- From: "Clifford Johnson" <>
- To: <>
- Subject: Detecting "xsi:nil" in AttributeValue
- Date: Wed, 12 Mar 2008 14:29:16 -0700
I may be missing something, but it seems that the org.opensaml.saml2.core.AttributeValue
interface should have a method to determine whether or not the attribute value
is marked “xsi:nil=true”. At a minimum, it should extend the org.opensaml.xml.AttributeExtensibleXMLObject
interface in order to have access to the org.opensaml.xml.AttributeExtensibleXMLObject#getUnknownAttributes
method to get the “xsi:nil” attribute. Right now, in order to
determine if an AttributeValue is nil, I have to “hope” that the
object is an XSAny so I can get the unknown attributes to see the xsi:nil value. Am I missing something and not going at this the right way? (Based on my reading of XML Schema Part 1, the xsi:nil
attribute is defined in *every*
schema with global scope suggesting that an “isNil()” method should
be in org.opensaml.xml.XMLObject along with getSchemaType() [for xsi:type],
getSchemaLocation() [for xsi:schemaLocation], and getNoSchemaLocation() [for
xsi:noSchemaLocation].) Thanks. Clifford |
- Detecting "xsi:nil" in AttributeValue, Clifford Johnson, 03/12/2008
- RE: Detecting "xsi:nil" in AttributeValue, Scott Cantor, 03/13/2008
- RE: Detecting "xsi:nil" in AttributeValue, Clifford Johnson, 03/13/2008
- RE: Detecting "xsi:nil" in AttributeValue, Scott Cantor, 03/13/2008
- Message not available
- RE: Detecting "xsi:nil" in AttributeValue, Scott Cantor, 03/13/2008
- Message not available
- Message not available
- Re: Detecting "xsi:nil" in AttributeValue, Brent Putman, 03/13/2008
- RE: Detecting "xsi:nil" in AttributeValue, Scott Cantor, 03/13/2008
- Message not available
- Re: Detecting "xsi:nil" in AttributeValue, Brent Putman, 03/13/2008
- RE: Detecting "xsi:nil" in AttributeValue, Scott Cantor, 03/13/2008
- Message not available
- Re: Detecting "xsi:nil" in AttributeValue, Brent Putman, 03/13/2008
- RE: Detecting "xsi:nil" in AttributeValue, Scott Cantor, 03/13/2008
- Re: Detecting "xsi:nil" in AttributeValue, Brent Putman, 03/13/2008
- Message not available
- RE: Detecting "xsi:nil" in AttributeValue, Clifford Johnson, 03/13/2008
- RE: Detecting "xsi:nil" in AttributeValue, Scott Cantor, 03/13/2008
Archive powered by MHonArc 2.6.16.