157 references to XmlTokenizedType
System.Xml (157)
System\Xml\Dom\XmlLoader.cs (1)
585
if (attdef.Datatype.TokenizedType ==
XmlTokenizedType
.ID) {
System\Xml\Schema\DataTypeImplementation.cs (25)
138
internal new static DatatypeImplementation FromXmlTokenizedType(
XmlTokenizedType
token) {
142
internal new static DatatypeImplementation FromXmlTokenizedTypeXsd(
XmlTokenizedType
token) {
433
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.None;}}
907
public override
XmlTokenizedType
TokenizedType { get { return itemType.TokenizedType;}}
1216
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.None;}}
1288
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.CDATA;}}
2467
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.QName;}}
2624
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.NMTOKEN;}}
2705
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.ID;}}
2721
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.IDREF;}}
2737
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.ENTITY;}}
2784
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.NOTATION;}}
3465
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.QName;}}
3492
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.ENUMERATION;}}
System\Xml\Schema\DtdParser.cs (16)
32
CDATA =
XmlTokenizedType
.CDATA, // == 0
33
ID =
XmlTokenizedType
.ID, // == 1
34
IDREF =
XmlTokenizedType
.IDREF, // == 2
35
IDREFS =
XmlTokenizedType
.IDREFS, // == 3
36
ENTITY =
XmlTokenizedType
.ENTITY, // == 4
37
ENTITIES =
XmlTokenizedType
.ENTITIES, // == 5
38
NMTOKEN =
XmlTokenizedType
.NMTOKEN, // == 6
39
NMTOKENS =
XmlTokenizedType
.NMTOKENS, // == 7
40
NOTATION =
XmlTokenizedType
.NOTATION, // == 8
652
if ( attrDef.Datatype.TokenizedType !=
XmlTokenizedType
.ENUMERATION ) {
688
if ( attrDef.TokenizedType !=
XmlTokenizedType
.ENUMERATION ) {
721
attrDef.TokenizedType = (
XmlTokenizedType
)(int)token;
733
if ( ( idAttrDef == null || idAttrDef.Datatype.TokenizedType !=
XmlTokenizedType
.ID ) && !ignoreErrors ) {
794
attrDef.TokenizedType =
XmlTokenizedType
.ENUMERATION;
855
if ( validate && attrDef.Datatype.TokenizedType ==
XmlTokenizedType
.ID&& !ignoreErrors ) {
860
if ( attrDef.TokenizedType !=
XmlTokenizedType
.CDATA ) {
System\Xml\Schema\DtdParserAsync.cs (7)
297
if ( attrDef.Datatype.TokenizedType !=
XmlTokenizedType
.ENUMERATION ) {
333
if ( attrDef.TokenizedType !=
XmlTokenizedType
.ENUMERATION ) {
366
attrDef.TokenizedType = (
XmlTokenizedType
)(int)token;
378
if ( ( idAttrDef == null || idAttrDef.Datatype.TokenizedType !=
XmlTokenizedType
.ID ) && !ignoreErrors ) {
439
attrDef.TokenizedType =
XmlTokenizedType
.ENUMERATION;
500
if ( validate && attrDef.Datatype.TokenizedType ==
XmlTokenizedType
.ID&& !ignoreErrors ) {
505
if ( attrDef.TokenizedType !=
XmlTokenizedType
.CDATA ) {
System\Xml\Schema\DtdValidator.cs (14)
252
XmlTokenizedType
ttype,
256
case
XmlTokenizedType
.ID:
266
case
XmlTokenizedType
.IDREF:
275
case
XmlTokenizedType
.ENTITY:
293
if (dtype.TokenizedType !=
XmlTokenizedType
.CDATA) {
300
XmlTokenizedType
ttype = dtype.TokenizedType;
301
if (ttype ==
XmlTokenizedType
.ENTITY || ttype ==
XmlTokenizedType
.ID || ttype ==
XmlTokenizedType
.IDREF) {
315
if (dtype.TokenizedType ==
XmlTokenizedType
.NOTATION) {
446
if (dtype.TokenizedType !=
XmlTokenizedType
.CDATA) {
482
XmlTokenizedType
ttype = dtype.TokenizedType;
483
if (ttype ==
XmlTokenizedType
.ENTITY) {
494
else if (ttype ==
XmlTokenizedType
.ENUMERATION) {
System\Xml\Schema\SchemaAttDef.cs (3)
80
get { return this.TokenizedType !=
XmlTokenizedType
.CDATA; }
146
internal
XmlTokenizedType
TokenizedType {
186
if (datatype.TokenizedType ==
XmlTokenizedType
.ENUMERATION &&
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
597
if (datatype != null && datatype.TokenizedType ==
XmlTokenizedType
.ID) {
System\Xml\Schema\SchemaDeclBase.cs (2)
118
return (datatype.TokenizedType !=
XmlTokenizedType
.NOTATION && datatype.TokenizedType !=
XmlTokenizedType
.ENUMERATION) || values.Contains(pVal.ToString());
System\Xml\Schema\SchemaElementDecl.cs (1)
96
if (attDef.TokenizedType ==
XmlTokenizedType
.ID) {
System\Xml\Schema\XdrBuilder.cs (49)
171
internal XdrAttributeEntry(SchemaNames.Token a,
XmlTokenizedType
ttype, XdrBuildFunction build) {
177
internal XdrAttributeEntry(SchemaNames.Token a,
XmlTokenizedType
ttype, int schemaFlags, XdrBuildFunction build) {
234
new XdrAttributeEntry(SchemaNames.Token.SchemaName,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildRoot_Name) ),
235
new XdrAttributeEntry(SchemaNames.Token.SchemaId,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildRoot_ID) )
240
new XdrAttributeEntry(SchemaNames.Token.SchemaName,
XmlTokenizedType
.QName, SchemaFlagsNs, new XdrBuildFunction(XDR_BuildElementType_Name) ),
241
new XdrAttributeEntry(SchemaNames.Token.SchemaContent,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildElementType_Content) ),
242
new XdrAttributeEntry(SchemaNames.Token.SchemaModel,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildElementType_Model) ),
243
new XdrAttributeEntry(SchemaNames.Token.SchemaOrder,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildElementType_Order) ),
244
new XdrAttributeEntry(SchemaNames.Token.SchemaDtType,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtType) ),
245
new XdrAttributeEntry(SchemaNames.Token.SchemaDtValues,
XmlTokenizedType
.NMTOKENS, new XdrBuildFunction(XDR_BuildElementType_DtValues) ),
246
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMaxLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMaxLength) ),
247
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMinLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMinLength) )
252
new XdrAttributeEntry(SchemaNames.Token.SchemaName,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttributeType_Name) ),
253
new XdrAttributeEntry(SchemaNames.Token.SchemaRequired,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttributeType_Required) ),
254
new XdrAttributeEntry(SchemaNames.Token.SchemaDefault,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_Default) ),
255
new XdrAttributeEntry(SchemaNames.Token.SchemaDtType,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttributeType_DtType) ),
256
new XdrAttributeEntry(SchemaNames.Token.SchemaDtValues,
XmlTokenizedType
.NMTOKENS, new XdrBuildFunction(XDR_BuildAttributeType_DtValues) ),
257
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMaxLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMaxLength) ),
258
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMinLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMinLength) )
263
new XdrAttributeEntry(SchemaNames.Token.SchemaType,
XmlTokenizedType
.QName, SchemaFlagsNs, new XdrBuildFunction(XDR_BuildElement_Type) ),
264
new XdrAttributeEntry(SchemaNames.Token.SchemaMinOccurs,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElement_MinOccurs) ),
265
new XdrAttributeEntry(SchemaNames.Token.SchemaMaxOccurs,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElement_MaxOccurs) )
270
new XdrAttributeEntry(SchemaNames.Token.SchemaType,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttribute_Type) ),
271
new XdrAttributeEntry(SchemaNames.Token.SchemaRequired,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttribute_Required) ),
272
new XdrAttributeEntry(SchemaNames.Token.SchemaDefault,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttribute_Default) )
277
new XdrAttributeEntry(SchemaNames.Token.SchemaOrder,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildGroup_Order) ),
278
new XdrAttributeEntry(SchemaNames.Token.SchemaMinOccurs,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildGroup_MinOccurs) ),
279
new XdrAttributeEntry(SchemaNames.Token.SchemaMaxOccurs,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildGroup_MaxOccurs) )
284
new XdrAttributeEntry(SchemaNames.Token.SchemaDtType,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtType) ),
285
new XdrAttributeEntry(SchemaNames.Token.SchemaDtValues,
XmlTokenizedType
.NMTOKENS, new XdrBuildFunction(XDR_BuildElementType_DtValues) ),
286
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMaxLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMaxLength) ),
287
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMinLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMinLength) )
292
new XdrAttributeEntry(SchemaNames.Token.SchemaDtType,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttributeType_DtType) ),
293
new XdrAttributeEntry(SchemaNames.Token.SchemaDtValues,
XmlTokenizedType
.NMTOKENS, new XdrBuildFunction(XDR_BuildAttributeType_DtValues) ),
294
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMaxLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMaxLength) ),
295
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMinLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMinLength) )
437
if (a._Datatype.TokenizedType ==
XmlTokenizedType
.QName) {
876
XmlTokenizedType
ttype = ed.Datatype.TokenizedType;
877
if (ttype ==
XmlTokenizedType
.ENUMERATION &&
882
if (ttype !=
XmlTokenizedType
.ENUMERATION &&
989
XmlTokenizedType
ttype = builder._AttributeDef._AttDef.Datatype.TokenizedType;
991
if (ttype ==
XmlTokenizedType
.ENUMERATION && !builder._AttributeDef._EnumerationRequired) {
996
if (ttype !=
XmlTokenizedType
.ENUMERATION && builder._AttributeDef._EnumerationRequired) {
1002
if (builder._AttributeDef._Default != null && ttype ==
XmlTokenizedType
.ID) {
1008
builder._AttributeDef._AttDef.Datatype = XmlSchemaDatatype.FromXmlTokenizedType(
XmlTokenizedType
.CDATA);
1297
XmlTokenizedType
ttype = builder._AttributeDef._AttDef.Datatype.TokenizedType;
1299
if (ttype ==
XmlTokenizedType
.ENUMERATION && !builder._AttributeDef._EnumerationRequired) {
1302
else if (ttype !=
XmlTokenizedType
.ENUMERATION && builder._AttributeDef._EnumerationRequired) {
1544
else if (dtype.TokenizedType ==
XmlTokenizedType
.ID) {
System\Xml\Schema\XdrValidator.cs (14)
339
XmlTokenizedType
ttype,
343
case
XmlTokenizedType
.ID:
351
case
XmlTokenizedType
.IDREF:
357
case
XmlTokenizedType
.ENTITY:
388
if (dtype.TokenizedType !=
XmlTokenizedType
.CDATA) {
399
XmlTokenizedType
ttype = dtype.TokenizedType;
400
if (ttype ==
XmlTokenizedType
.ENTITY || ttype ==
XmlTokenizedType
.ID || ttype ==
XmlTokenizedType
.IDREF) {
425
if (dtype.TokenizedType ==
XmlTokenizedType
.NOTATION) {
471
if (dtype.TokenizedType !=
XmlTokenizedType
.CDATA) {
480
XmlTokenizedType
ttype = dtype.TokenizedType;
481
if (ttype ==
XmlTokenizedType
.ENTITY) {
492
else if (ttype ==
XmlTokenizedType
.ENUMERATION) {
System\Xml\Schema\XmlSchemaDataType.cs (3)
33
public abstract
XmlTokenizedType
TokenizedType { get; }
291
internal static XmlSchemaDatatype FromXmlTokenizedType(
XmlTokenizedType
token) {
295
internal static XmlSchemaDatatype FromXmlTokenizedTypeXsd(
XmlTokenizedType
token) {
System\Xml\Schema\XmlSchemaValidator.cs (10)
136
private static readonly XmlSchemaDatatype dtQName = XmlSchemaDatatype.FromXmlTokenizedTypeXsd(
XmlTokenizedType
.QName);
137
private static readonly XmlSchemaDatatype dtCDATA = XmlSchemaDatatype.FromXmlTokenizedType(
XmlTokenizedType
.CDATA);
1586
private void ProcessTokenizedType(
XmlTokenizedType
ttype, string name, bool attrValue) {
1588
case
XmlTokenizedType
.ID:
1604
case
XmlTokenizedType
.IDREF:
1612
case
XmlTokenizedType
.ENTITY:
1675
XmlTokenizedType
ttype = dtype.TokenizedType;
1676
if (ttype ==
XmlTokenizedType
.ENTITY || ttype ==
XmlTokenizedType
.ID || ttype ==
XmlTokenizedType
.IDREF) {
System\Xml\Schema\XsdBuilder.cs (1)
1413
XmlSchemaDatatype dt = XmlSchemaDatatype.FromXmlTokenizedTypeXsd(
XmlTokenizedType
.QName).DeriveByList(null);
System\Xml\Schema\XsdValidator.cs (10)
34
private static readonly XmlSchemaDatatype dtCDATA = XmlSchemaDatatype.FromXmlTokenizedType(
XmlTokenizedType
.CDATA);
35
private static readonly XmlSchemaDatatype dtQName = XmlSchemaDatatype.FromXmlTokenizedTypeXsd(
XmlTokenizedType
.QName);
552
XmlTokenizedType
ttype,
556
case
XmlTokenizedType
.ID:
564
case
XmlTokenizedType
.IDREF:
570
case
XmlTokenizedType
.ENTITY:
593
XmlTokenizedType
ttype = dtype.TokenizedType;
594
if (ttype ==
XmlTokenizedType
.ENTITY || ttype ==
XmlTokenizedType
.ID || ttype ==
XmlTokenizedType
.IDREF) {