mace-opensaml-users - RE: Detecting "xsi:nil" in AttributeValue
Subject: OpenSAML user discussion
List archive
- From: "Scott Cantor" <>
- To: <>
- Subject: RE: Detecting "xsi:nil" in AttributeValue
- Date: Thu, 13 Mar 2008 11:00:14 -0400
- Organization: The Ohio State University
> (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].)
No, that wouldn't make sense. Not every type is nillable (in fact very few
are). The attribute is global but it's legality isn't, same as with
xml:lang.
What makes sense is for nillable types to carry it as a flag, unless they
extend other classes that would give you access to the arbitrary attributes.
-- Scott
- 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
- Message not available
- Re: Detecting "xsi:nil" in AttributeValue, Brent Putman, 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.