Re: RE: phantom attribute?

David,

Sorry I have been out of the loop since my last reply.  The second of my examples should serve as a solution for your needs.

The thing about defaults is that they do not offer any value towards the validation function of schema.  As you have discovered they may even represent an ambiguous factor.  Defaults are valuable for generating instance documents from a schema reference or for auto correcting an instance document absent of elements and attributes defined with defaults.  In this case it may be necessary to consider the primary intention of your schema to determine if stating a default best serves the function you are attempting to achieve for your organization.

Thanks,

Austin Cheney, CISSP
http://prettydiff.com/

Received on Saturday, 2 October 2010 11:49:51 UTC