Rick Jelliffe wrote:
> "what kinds of XSD structures are unwise or unsafe?"
> http://www.w3.org/TR/xmlschema-patterns/
>
> The gist is in Appendix F
Thanks Rick!
Let me see if I understand correctly:
Want to create an XML Schema that is broadly adopted?
Some of your users will use data binding tools to map the XML Schema constructs into data structures in an imperative programming language?
Then don't use any of the XML Schema constructs listed below.
Don't use these XML Schema elements:
<all>
<anyAttribute>
<appinfo>
<attributeGroup>
<choice>
<fractionDigits>
<group>
<key>
<keyref>
<length>
<list>
<maxExclusive>
<maxInclusive>
<maxLength>
<notation>
<pattern>
<redefine>
<simpleContent>
<totalDigits>
<union>
<unique>
<whitespace>
Don't use these XML Schema attribute:
@block
@blockDefault
@default
@final
@finalDefault
@fixed
@itemType
@memberTypes
@processContents
@substitutionGroup
@xpath
Don't use these XML Schema datatypes:
ENTITIES
ENTITY
ID
IDREF
IDREFS
NMTOKEN
NMTOKENS
NOTATION
date
decimal
duration
float
gDay
gMonth
gMonthDay
gYear
gYearMonth
hexBinary
integer
language
negativeInteger
unsignedByte
unsignedInt
unsignedLong
unsignedShort
Do I correctly understand the state of affairs with regard to using data binding tools with XML Schema?
/Roger