Schema
Namespace: AntaniXml
This is the public API of AntaniXml. It provides random generators for global elements defined in the given Xml Schema.
Constructors
Constructor | Description |
new(xmlSchemaSet)
Signature: xmlSchemaSet:XmlSchemaSet -> Schema
|
CompiledName: |
Instance members
Instance member | Description |
Arbitrary(elementName)
Signature: elementName:XmlQualifiedName -> Arbitrary<XElement>
|
The object created embeds a random generator of xml elements and it is suitable for property based testing with FsCheck. Parameters
|
Arbitrary(elementName, customizations)
Signature: (elementName:XmlQualifiedName * customizations:CustomGenerators) -> Arbitrary<XElement>
|
The object created embeds a random generator of xml elements and it is suitable for property based testing with FsCheck. Parameters
|
Generator(elementName)
Signature: elementName:XmlQualifiedName -> IXmlElementGenerator
|
Creates a random generator of xml elements with the given qualified name. A corresponding global element definition is expected in the schema. Parameters
|
GlobalElements
Signature: IEnumerable<XmlQualifiedName>
|
Global elements defined in the given schema. CompiledName: |
IsValid(element)
Signature: element:XElement -> bool
|
Helper method providing validation. |
Validate(element)
Signature: element:XElement -> ValidationResult
|
Helper method providing validation. |
Validate(element)
Signature: element:string -> ValidationResult
|
Helper method providing validation. |