AntaniXml


AtomicGenerators

Namespace: AntaniXml

This module provides generators for simple (atomic) data types. Generation of random values is mainly based on FsCheck generators. Each simple datatype is mapped to a suitable CLR type (e.g. xs:int to System.Int32, xs:integer to System.Numerics.BigInteger...) for which an FsCheck generator already exists or can be easily built.

Functions and values

Function or valueDescription
genAnyURI facets
Signature: facets:Facets -> Gen<string>
genBase64Binary facets
Signature: facets:'a -> Gen<string>
Type parameters: 'a
genBool facets
Signature: facets:Facets -> Gen<string>
genByte facets
Signature: facets:Facets -> Gen<string>
genDate facets
Signature: facets:Facets -> Gen<string>
genDateTime facets
Signature: facets:Facets -> Gen<string>
genDecimal facets
Signature: facets:Facets -> Gen<string>
genDouble facets
Signature: facets:Facets -> Gen<string>
genDuration facets
Signature: facets:Facets -> Gen<string>
genFloat facets
Signature: facets:Facets -> Gen<string>
genGDay facets
Signature: facets:Facets -> Gen<string>
genGMonth facets
Signature: facets:Facets -> Gen<string>
genGMonthDay facets
Signature: facets:Facets -> Gen<string>
genGYear facets
Signature: facets:Facets -> Gen<string>
genGYearMonth facets
Signature: facets:Facets -> Gen<string>
genHexBinary facets
Signature: facets:Facets -> Gen<string>
genInt facets
Signature: facets:Facets -> Gen<string>
genInteger facets
Signature: facets:Facets -> Gen<string>
genLanguage facets
Signature: facets:Facets -> Gen<string>
genLong facets
Signature: facets:Facets -> Gen<string>
genName facets
Signature: facets:Facets -> Gen<string>
genNcName facets
Signature: facets:Facets -> Gen<string>
genNegativeInteger facets
Signature: facets:Facets -> Gen<string>
genNmToken facets
Signature: facets:Facets -> Gen<string>
genNonNegativeInteger facets
Signature: facets:Facets -> Gen<string>
genNonPositiveInteger facets
Signature: facets:Facets -> Gen<string>
genNormalizedString facets
Signature: facets:Facets -> Gen<string>
genPositiveInteger facets
Signature: facets:Facets -> Gen<string>
genQName facets
Signature: facets:Facets -> Gen<string>
genShort facets
Signature: facets:Facets -> Gen<string>
genString facets
Signature: facets:Facets -> Gen<string>
genTime facets
Signature: facets:Facets -> Gen<string>
genToken facets
Signature: facets:Facets -> Gen<string>
genUnsignedByte facets
Signature: facets:Facets -> Gen<string>
genUnsignedInt facets
Signature: facets:Facets -> Gen<string>
genUnsignedLong facets
Signature: facets:Facets -> Gen<string>
genUnsignedShort facets
Signature: facets:Facets -> Gen<string>
Fork me on GitHub