178 references to XmlTokenizedType
netstandard (1)
netstandard.cs (1)
2505
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.
XmlTokenizedType
))]
System.Private.Xml (175)
System\Xml\Dom\XmlLoader.cs (1)
665
if (attdef.Datatype.TokenizedType ==
XmlTokenizedType
.ID)
System\Xml\Schema\DataTypeImplementation.cs (25)
142
internal static new DatatypeImplementation? FromXmlTokenizedType(
XmlTokenizedType
token)
147
internal static new DatatypeImplementation? FromXmlTokenizedTypeXsd(
XmlTokenizedType
token)
478
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.None; } }
991
public override
XmlTokenizedType
TokenizedType { get { return _itemType.TokenizedType; } }
1363
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.None; } }
1441
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.CDATA; } }
2678
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.QName; } }
2851
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.NMTOKEN; } }
2934
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.ID; } }
2950
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.IDREF; } }
2966
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.ENTITY; } }
3011
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.NOTATION; } }
3732
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.QName; } }
3764
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.ENUMERATION; } }
System\Xml\Schema\DtdParser.cs (34)
23
CDATA =
XmlTokenizedType
.CDATA, // == 0
24
ID =
XmlTokenizedType
.ID, // == 1
25
IDREF =
XmlTokenizedType
.IDREF, // == 2
26
IDREFS =
XmlTokenizedType
.IDREFS, // == 3
27
ENTITY =
XmlTokenizedType
.ENTITY, // == 4
28
ENTITIES =
XmlTokenizedType
.ENTITIES, // == 5
29
NMTOKEN =
XmlTokenizedType
.NMTOKEN, // == 6
30
NMTOKENS =
XmlTokenizedType
.NMTOKENS, // == 7
31
NOTATION =
XmlTokenizedType
.NOTATION, // == 8
208
Debug.Assert((int)Token.CDATA == (int)
XmlTokenizedType
.CDATA && (int)
XmlTokenizedType
.CDATA == 0);
209
Debug.Assert((int)Token.ID == (int)
XmlTokenizedType
.ID && (int)
XmlTokenizedType
.ID == 1);
210
Debug.Assert((int)Token.IDREF == (int)
XmlTokenizedType
.IDREF && (int)
XmlTokenizedType
.IDREF == 2);
211
Debug.Assert((int)Token.IDREFS == (int)
XmlTokenizedType
.IDREFS && (int)
XmlTokenizedType
.IDREFS == 3);
212
Debug.Assert((int)Token.ENTITY == (int)
XmlTokenizedType
.ENTITY && (int)
XmlTokenizedType
.ENTITY == 4);
213
Debug.Assert((int)Token.ENTITIES == (int)
XmlTokenizedType
.ENTITIES && (int)
XmlTokenizedType
.ENTITIES == 5);
214
Debug.Assert((int)Token.NMTOKEN == (int)
XmlTokenizedType
.NMTOKEN && (int)
XmlTokenizedType
.NMTOKEN == 6);
215
Debug.Assert((int)Token.NMTOKENS == (int)
XmlTokenizedType
.NMTOKENS && (int)
XmlTokenizedType
.NMTOKENS == 7);
216
Debug.Assert((int)Token.NOTATION == (int)
XmlTokenizedType
.NOTATION && (int)
XmlTokenizedType
.NOTATION == 8);
685
if (attrDef.Datatype.TokenizedType !=
XmlTokenizedType
.ENUMERATION)
725
if (attrDef.TokenizedType !=
XmlTokenizedType
.ENUMERATION)
763
attrDef.TokenizedType = (
XmlTokenizedType
)(int)token;
774
if ((idAttrDef == null || idAttrDef.Datatype.TokenizedType !=
XmlTokenizedType
.ID) && !ignoreErrors)
843
attrDef.TokenizedType =
XmlTokenizedType
.ENUMERATION;
904
if (_validate && attrDef.Datatype.TokenizedType ==
XmlTokenizedType
.ID && !ignoreErrors)
909
if (attrDef.TokenizedType !=
XmlTokenizedType
.CDATA)
System\Xml\Schema\DtdParserAsync.cs (7)
329
if (attrDef.Datatype.TokenizedType !=
XmlTokenizedType
.ENUMERATION)
369
if (attrDef.TokenizedType !=
XmlTokenizedType
.ENUMERATION)
407
attrDef.TokenizedType = (
XmlTokenizedType
)(int)token;
418
if ((idAttrDef == null || idAttrDef.Datatype.TokenizedType !=
XmlTokenizedType
.ID) && !ignoreErrors)
487
attrDef.TokenizedType =
XmlTokenizedType
.ENUMERATION;
548
if (_validate && attrDef.Datatype.TokenizedType ==
XmlTokenizedType
.ID && !ignoreErrors)
553
if (attrDef.TokenizedType !=
XmlTokenizedType
.CDATA)
System\Xml\Schema\DtdValidator.cs (14)
301
XmlTokenizedType
ttype,
307
case
XmlTokenizedType
.ID:
320
case
XmlTokenizedType
.IDREF:
331
case
XmlTokenizedType
.ENTITY:
352
if (dtype.TokenizedType !=
XmlTokenizedType
.CDATA)
360
XmlTokenizedType
ttype = dtype.TokenizedType;
361
if (ttype ==
XmlTokenizedType
.ENTITY || ttype ==
XmlTokenizedType
.ID || ttype ==
XmlTokenizedType
.IDREF)
380
if (dtype.TokenizedType ==
XmlTokenizedType
.NOTATION)
539
if (dtype.TokenizedType !=
XmlTokenizedType
.CDATA)
578
XmlTokenizedType
ttype = dtype.TokenizedType;
579
if (ttype ==
XmlTokenizedType
.ENTITY)
594
else if (ttype ==
XmlTokenizedType
.ENUMERATION)
System\Xml\Schema\SchemaAttDef.cs (3)
77
get { return this.TokenizedType !=
XmlTokenizedType
.CDATA; }
151
internal
XmlTokenizedType
TokenizedType
177
if (datatype.TokenizedType ==
XmlTokenizedType
.ENUMERATION &&
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
757
if (datatype != null && datatype.TokenizedType ==
XmlTokenizedType
.ID)
System\Xml\Schema\SchemaDeclBase.cs (2)
124
return (datatype.TokenizedType !=
XmlTokenizedType
.NOTATION && datatype.TokenizedType !=
XmlTokenizedType
.ENUMERATION) || values!.Contains(pVal.ToString()!);
System\Xml\Schema\SchemaElementDecl.cs (1)
99
if (attDef.TokenizedType ==
XmlTokenizedType
.ID)
System\Xml\Schema\XdrBuilder.cs (49)
180
internal XdrAttributeEntry(SchemaNames.Token a,
XmlTokenizedType
ttype, XdrBuildFunction build)
187
internal XdrAttributeEntry(SchemaNames.Token a,
XmlTokenizedType
ttype, int schemaFlags, XdrBuildFunction build)
247
new XdrAttributeEntry(SchemaNames.Token.SchemaName,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildRoot_Name) ),
248
new XdrAttributeEntry(SchemaNames.Token.SchemaId,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildRoot_ID) )
253
new XdrAttributeEntry(SchemaNames.Token.SchemaName,
XmlTokenizedType
.QName, SchemaFlagsNs, new XdrBuildFunction(XDR_BuildElementType_Name) ),
254
new XdrAttributeEntry(SchemaNames.Token.SchemaContent,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildElementType_Content) ),
255
new XdrAttributeEntry(SchemaNames.Token.SchemaModel,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildElementType_Model) ),
256
new XdrAttributeEntry(SchemaNames.Token.SchemaOrder,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildElementType_Order) ),
257
new XdrAttributeEntry(SchemaNames.Token.SchemaDtType,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtType) ),
258
new XdrAttributeEntry(SchemaNames.Token.SchemaDtValues,
XmlTokenizedType
.NMTOKENS, new XdrBuildFunction(XDR_BuildElementType_DtValues) ),
259
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMaxLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMaxLength) ),
260
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMinLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMinLength) )
265
new XdrAttributeEntry(SchemaNames.Token.SchemaName,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttributeType_Name) ),
266
new XdrAttributeEntry(SchemaNames.Token.SchemaRequired,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttributeType_Required) ),
267
new XdrAttributeEntry(SchemaNames.Token.SchemaDefault,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_Default) ),
268
new XdrAttributeEntry(SchemaNames.Token.SchemaDtType,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttributeType_DtType) ),
269
new XdrAttributeEntry(SchemaNames.Token.SchemaDtValues,
XmlTokenizedType
.NMTOKENS, new XdrBuildFunction(XDR_BuildAttributeType_DtValues) ),
270
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMaxLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMaxLength) ),
271
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMinLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMinLength) )
276
new XdrAttributeEntry(SchemaNames.Token.SchemaType,
XmlTokenizedType
.QName, SchemaFlagsNs, new XdrBuildFunction(XDR_BuildElement_Type) ),
277
new XdrAttributeEntry(SchemaNames.Token.SchemaMinOccurs,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElement_MinOccurs) ),
278
new XdrAttributeEntry(SchemaNames.Token.SchemaMaxOccurs,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElement_MaxOccurs) )
283
new XdrAttributeEntry(SchemaNames.Token.SchemaType,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttribute_Type) ),
284
new XdrAttributeEntry(SchemaNames.Token.SchemaRequired,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttribute_Required) ),
285
new XdrAttributeEntry(SchemaNames.Token.SchemaDefault,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttribute_Default) )
290
new XdrAttributeEntry(SchemaNames.Token.SchemaOrder,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildGroup_Order) ),
291
new XdrAttributeEntry(SchemaNames.Token.SchemaMinOccurs,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildGroup_MinOccurs) ),
292
new XdrAttributeEntry(SchemaNames.Token.SchemaMaxOccurs,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildGroup_MaxOccurs) )
297
new XdrAttributeEntry(SchemaNames.Token.SchemaDtType,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtType) ),
298
new XdrAttributeEntry(SchemaNames.Token.SchemaDtValues,
XmlTokenizedType
.NMTOKENS, new XdrBuildFunction(XDR_BuildElementType_DtValues) ),
299
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMaxLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMaxLength) ),
300
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMinLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMinLength) )
305
new XdrAttributeEntry(SchemaNames.Token.SchemaDtType,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttributeType_DtType) ),
306
new XdrAttributeEntry(SchemaNames.Token.SchemaDtValues,
XmlTokenizedType
.NMTOKENS, new XdrBuildFunction(XDR_BuildAttributeType_DtValues) ),
307
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMaxLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMaxLength) ),
308
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMinLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMinLength) )
455
if (a._Datatype!.TokenizedType ==
XmlTokenizedType
.QName)
976
XmlTokenizedType
ttype = ed.Datatype.TokenizedType;
977
if (ttype ==
XmlTokenizedType
.ENUMERATION &&
983
if (ttype !=
XmlTokenizedType
.ENUMERATION &&
1107
XmlTokenizedType
ttype = builder._AttributeDef._AttDef.Datatype.TokenizedType;
1109
if (ttype ==
XmlTokenizedType
.ENUMERATION && !builder._AttributeDef._EnumerationRequired)
1115
if (ttype !=
XmlTokenizedType
.ENUMERATION && builder._AttributeDef._EnumerationRequired)
1122
if (builder._AttributeDef._Default != null && ttype ==
XmlTokenizedType
.ID)
1130
builder._AttributeDef._AttDef!.Datatype = XmlSchemaDatatype.FromXmlTokenizedType(
XmlTokenizedType
.CDATA)!;
1465
XmlTokenizedType
ttype = builder._AttributeDef._AttDef.Datatype.TokenizedType;
1467
if (ttype ==
XmlTokenizedType
.ENUMERATION && !builder._AttributeDef._EnumerationRequired)
1471
else if (ttype !=
XmlTokenizedType
.ENUMERATION && builder._AttributeDef._EnumerationRequired)
1767
else if (dtype.TokenizedType ==
XmlTokenizedType
.ID)
System\Xml\Schema\XdrValidator.cs (14)
410
XmlTokenizedType
ttype,
416
case
XmlTokenizedType
.ID:
426
case
XmlTokenizedType
.IDREF:
433
case
XmlTokenizedType
.ENTITY:
471
if (dtype.TokenizedType !=
XmlTokenizedType
.CDATA)
484
XmlTokenizedType
ttype = dtype.TokenizedType;
485
if (ttype ==
XmlTokenizedType
.ENTITY || ttype ==
XmlTokenizedType
.ID || ttype ==
XmlTokenizedType
.IDREF)
519
if (dtype.TokenizedType ==
XmlTokenizedType
.NOTATION)
574
if (dtype.TokenizedType !=
XmlTokenizedType
.CDATA)
585
XmlTokenizedType
ttype = dtype.TokenizedType;
586
if (ttype ==
XmlTokenizedType
.ENTITY)
601
else if (ttype ==
XmlTokenizedType
.ENUMERATION)
System\Xml\Schema\XmlSchemaDataType.cs (3)
18
public abstract
XmlTokenizedType
TokenizedType { get; }
220
internal static XmlSchemaDatatype? FromXmlTokenizedType(
XmlTokenizedType
token)
225
internal static XmlSchemaDatatype? FromXmlTokenizedTypeXsd(
XmlTokenizedType
token)
System\Xml\Schema\XmlSchemaValidator.cs (10)
137
private static readonly XmlSchemaDatatype s_dtQName = XmlSchemaDatatype.FromXmlTokenizedTypeXsd(
XmlTokenizedType
.QName)!;
138
private static readonly XmlSchemaDatatype s_dtCDATA = XmlSchemaDatatype.FromXmlTokenizedType(
XmlTokenizedType
.CDATA)!;
1887
private void ProcessTokenizedType(
XmlTokenizedType
ttype, string name, bool attrValue)
1891
case
XmlTokenizedType
.ID:
1910
case
XmlTokenizedType
.IDREF:
1920
case
XmlTokenizedType
.ENTITY:
2000
XmlTokenizedType
ttype = dtype.TokenizedType;
2001
if (ttype ==
XmlTokenizedType
.ENTITY || ttype ==
XmlTokenizedType
.ID || ttype ==
XmlTokenizedType
.IDREF)
System\Xml\Schema\XsdBuilder.cs (1)
1508
XmlSchemaDatatype dt = XmlSchemaDatatype.FromXmlTokenizedTypeXsd(
XmlTokenizedType
.QName)!.DeriveByList(null);
System\Xml\Schema\XsdValidator.cs (10)
31
private static readonly XmlSchemaDatatype s_dtCDATA = XmlSchemaDatatype.FromXmlTokenizedType(
XmlTokenizedType
.CDATA)!;
32
private static readonly XmlSchemaDatatype s_dtQName = XmlSchemaDatatype.FromXmlTokenizedTypeXsd(
XmlTokenizedType
.QName)!;
655
XmlTokenizedType
ttype,
661
case
XmlTokenizedType
.ID:
671
case
XmlTokenizedType
.IDREF:
678
case
XmlTokenizedType
.ENTITY:
704
XmlTokenizedType
ttype = dtype.TokenizedType;
705
if (ttype ==
XmlTokenizedType
.ENTITY || ttype ==
XmlTokenizedType
.ID || ttype ==
XmlTokenizedType
.IDREF)
System.Xml (1)
System.Xml.cs (1)
234
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.
XmlTokenizedType
))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
162
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.
XmlTokenizedType
))]