CrystalXmlNamespaces

Namespace: SnowBank.Data.Xml · class

The namespaces of the DataContract format that no CLR namespace derives

Remarks

Five URIs, each chosen by the SHAPE of what is being written rather than by where a type is declared. They are here, cached and shared, so that a document that uses one does not transcode it and a generated container does not carry its own copy of the bytes.

Two of them have a conventional prefix, and the emitters use it (see GetConventionalPrefix).

Fields

Arrays

static readonly CrystalXmlNamespace Arrays

The namespace of an unannotated generic collection or dictionary

ArraysUri

const string ArraysUri

The namespace of an unannotated generic collection or dictionary

Serialization

static readonly CrystalXmlNamespace Serialization

The object-graph serialization namespace, which carries the Id and Ref attributes

SerializationPrefix

const string SerializationPrefix

Prefix the reference implementation spells SerializationUri with

SerializationUri

const string SerializationUri

The object-graph serialization namespace, which carries the Id and Ref attributes

SystemContract

static readonly CrystalXmlNamespace SystemContract

The namespace of the built-in contracts of the System types, of which DateTimeOffset is the one this format writes

SystemContractUri

const string SystemContractUri

The namespace of the built-in contracts of the System types, of which DateTimeOffset is the one this format writes

XmlSchema

static readonly CrystalXmlNamespace XmlSchema

The XML Schema namespace, which qualifies the type of a primitive value in an anyType slot

XmlSchemaInstance

static readonly CrystalXmlNamespace XmlSchemaInstance

The XML Schema instance namespace, which carries the nil and type attributes

XmlSchemaInstancePrefix

const string XmlSchemaInstancePrefix

Prefix the reference implementation spells XmlSchemaInstanceUri with

XmlSchemaInstanceUri

const string XmlSchemaInstanceUri

The XML Schema instance namespace, which carries the nil and type attributes

XmlSchemaUri

const string XmlSchemaUri

The XML Schema namespace, which qualifies the type of a primitive value in an anyType slot