Thursday, August 21, 2008

Information Cards: Redundant Information

public InformationCardMetaData(InfoCard card) {
 this.isSelfIssued = org.xmldap.infocard.Constants.ISSUER_XMLSOAP.equals(card.getIssuer());

InformationCardMetaData is an extension of InfoCard in the XML schema definition and in the corresponding XMLDAP classes.
The information in the InformationCardMetaData that the card is self-issued is derived from the Information Card.

Why is this so? Redundant data always leads to trouble.

I suggest that we remove isSelfIssued from the InformationCardMetaData structure in the schema definition.

No comments: