Codeunit 9610 XSD Parser

Base Application, System.Xml

src/Layers/W1/BaseApp/System/XML/XSDParser.Codeunit.al44 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

LoadSchema line 28

  1. 31callsGenerateMainSchemaDefinition
  2. 33callsLoadDependentSchemaSeparately

GenerateMainSchemaDefinition line 36, local

  1. 45callsLoadSchemaXML
  2. 50writesTable 9600 XML Schema Insert
  3. 52callsParseSchemaReferences
  4. 56callsParseChildXMLNodes
  5. 58callsInitializeTempBuffers
  6. 59callsExpandDefinitions
  7. 60callsUpdateXMLSchemaElementProperties

LoadSchemaXML line 66, local

  1. 75callsCodeunit 6224 XML DOM Management LoadXMLDocumentFromInStream
  2. 78callsPopulateNamespaceManager
  3. 79callsUpdateTargetNamespaceAliases

ExtendSelectedElement line 82

  1. 95callsInitializeTempBuffers
  2. 101writesTable 9610 XML Schema Element Insert
  3. 109callsExtendElementDefinitionType
  4. 115callsUpdateSelectedProperty
  5. 120writesTable 9610 XML Schema Element Modify

LoadDependentSchemaDefinition line 123, local

  1. 131callsLoadSchemaXML
  2. 132callsParseSchemaReferences
  3. 137callsParseChildXMLNodes

ExpandDefinitions line 140, local

  1. 158callsExtendElementDefinition

UpdateTargetNamespaceAliases line 202, local

  1. 212writesTable 9600 XML Schema Modify

ParseSchemaReferences line 216, local

  1. 218callsParseSchemaReferenceDefinition
  2. 219callsParseSchemaReferenceDefinition

ParseSchemaReferenceDefinition line 222, local

  1. 236callsCodeunit 6224 XML DOM Management FindNodesWithNamespaceManager
  2. 240callsGetSchemaLocation
  3. 241callsTable 9600 XML Schema GetTopSchemaCode
  4. 249callsGetAttribute
  5. 260callsCodeunit 419 File Management GetFileName
  6. 262callsImportFile
  7. 263writesTable 9600 XML Schema Insert
  8. 265callsLoadDependentSchemaDefinition
  9. 277writesTable 9612 Referenced XML Schema Insert(true)

ParseChildXMLNodes line 281, local

  1. 290callsParseXMLNode
  2. 294callsParseXMLNode

ParseXMLNode line 298, local

  1. 309callsInsertElementDefinition
  2. 311callsParseChildXMLNodes
  3. 315callsInsertAttributeDefinition
  4. 317callsParseChildXMLNodes
  5. 322callsInsertElementDefinition
  6. 324callsParseChildXMLNodes
  7. 326callsParseChildXMLNodes
  8. 328callsParseRestrictions
  9. 332callsParseChildXMLNodes

ParseRestrictions line 336, local

  1. 353callsGetAttribute
  2. 355writesTable 9611 XML Schema Restriction Insert
  3. 357callsParseRestrictionDefinitions
  4. 359callsParseRestrictionDefinitions

ParseRestrictionDefinitions line 363, local

  1. 370callsCodeunit 6224 XML DOM Management FindNodesWithNamespaceManager
  2. 382callsGetAttribute
  3. 384callsGetAttribute
  4. 385writesTable 9611 XML Schema Restriction Insert

ExtendElementDefinition line 390, local

  1. 398callsInsertXMLSchemaElementFromDefinition
  2. 400callsInsertRestrictions
  3. 401callsExtendElementDefinitionType
  4. 406callsInsertRestrictions
  5. 407callsExtendElementDefinitionType

ExtendElementDefinitionType line 413, local

  1. 416callsDetectDefinitionLoop
  2. 420writesTable 9610 XML Schema Element Modify
  3. 424callsPushDefinitionOnStack
  4. 428callsExtendNestedElementDefinition
  5. 431callsExtendReferenceElementDefinition
  6. 434callsExtendExtensionElementDefinition
  7. 437callsExtendTypeElementDefinition
  8. 441callsPopDefinitionFromStack

ExtendNestedElementDefinition line 444, local

  1. 448callsGetChildElementsForComplexType
  2. 450callsExtendElementDefinition

ExtendReferenceElementDefinition line 455, local

  1. 459callsGetReferencedElementDefinition
  2. 460callsExtendElementDefinitionType

ExtendExtensionElementDefinition line 464, local

  1. 469callsGetReferencedElementDefinition
  2. 470callsExtendElementDefinition
  3. 473callsUpdateSimpleType
  4. 475callsGetChildElementsForComplexType
  5. 477callsExtendElementDefinition

ExtendTypeElementDefinition line 482, local

  1. 486callsGetTypeDefinition
  2. 488callsExtendElementDefinition
  3. 492callsUpdateSimpleType

UpdateSimpleType line 495, local

  1. 498validatesTable 9610 XML Schema Element Simple Data Type
  2. 499writesTable 9610 XML Schema Element Modify(true)

InsertElementDefinition line 503, local

  1. 508callsAssignKeyToXMLSchemaElement
  2. 510callsGetElementName
  3. 517callsGetElementType
  4. 521callsSetMinAndMaxOccurs
  5. 522writesTable 9610 XML Schema Element Insert

InsertAttributeDefinition line 526, local

  1. 531callsAssignKeyToXMLSchemaElement
  2. 532callsGetElementName
  3. 534callsGetElementType
  4. 537callsGetAttribute
  5. 541writesTable 9610 XML Schema Element Insert

SetMinAndMaxOccurs line 557, local

  1. 559callsGetAttribute
  2. 560callsGetAttribute
  3. 564callsGetAttribute
  4. 570callsGetAttribute

UpdateXMLSchemaElementProperties line 574, local

  1. 583callsUpdateSelectedProperty

UpdateSelectedProperty line 587, local

  1. 592writesTable 9610 XML Schema Element Modify
  2. 596writesTable 9610 XML Schema Element Modify

GetElementName line 607, local

  1. 611callsGetAttribute
  2. 614callsGetAttribute
  3. 617callsGetAttribute

GetElementType line 622, local

  1. 626callsGetAttribute
  2. 628callsGetAttribute
  3. 631callsGetAttribute

GetChildElementsForComplexType line 637, local

  1. 650writesTable 9610 XML Schema Element Insert

GetReferencedElementDefinition line 657, local

  1. 686writesTable 9610 XML Schema Element Insert
  2. 707writesTable 9610 XML Schema Element Insert
  3. 728writesTable 9610 XML Schema Element Insert

GetTypeDefinition line 736, local

  1. 751writesTable 9610 XML Schema Element Insert

InsertRestrictions line 755, local

  1. 768validatesTable 9610 XML Schema Element Simple Data Type
  2. 770writesTable 9610 XML Schema Element Modify
  3. 789writesTable 9611 XML Schema Restriction Insert

InsertXMLSchemaElementFromDefinition line 793, local

  1. 798callsAssignKeyToXMLSchemaElement
  2. 809writesTable 9610 XML Schema Element Insert

ShowAll line 819

  1. 821writesTable 9610 XML Schema Element ModifyAll

GetSchemaLocation line 826, local

  1. 832callsGetAttribute
  2. 833callsCodeunit 419 File Management CombinePath
  3. 833callsCodeunit 419 File Management GetDirectoryName

SelectMandatory line 837

  1. 842validatesTable 9610 XML Schema Element Selected
  2. 843writesTable 9610 XML Schema Element Modify

DeselectAll line 847

  1. 849writesTable 9610 XML Schema Element ModifyAll

HideNotMandatory line 852

  1. 867writesTable 9610 XML Schema Element Modify

LoadDependentSchemaSeparately line 879, local

  1. 888callsLoadSchemaXML
  2. 889callsParseSchemaReferences
  3. 893callsParseChildXMLNodes
  4. 898callsTable 9600 XML Schema GetTopSchemaCode
  5. 899callsRemoveDefinitions
  6. 901callsInitializeTempBuffers
  7. 902callsExpandDefinitions
  8. 903callsUpdateXMLSchemaElementProperties

RemoveDefinitions line 909, local

  1. 915writesTable 9611 XML Schema Restriction DeleteAll(true)
  2. 918writesTable 9610 XML Schema Element DeleteAll(true)
  3. 923writesTable 9610 XML Schema Element DeleteAll
  4. 928writesTable 9610 XML Schema Element DeleteAll
  5. 929writesTable 9611 XML Schema Restriction DeleteAll

CreateDataExchDefForCAMT line 932

  1. 942writesTable 1222 Data Exch. Def Delete(true)
  2. 945callsTable 1222 Data Exch. Def InsertRec
  3. 949writesTable 1222 Data Exch. Def Modify
  4. 951callsCreateDataExchColumnDefinitions
  5. 954runsPage 1210 Data Exch Def Card

CreateDataExchColumnDefinitions line 957

  1. 973callsTable 1227 Data Exch. Line Def InsertRec
  2. 975writesTable 1227 Data Exch. Line Def Modify
  3. 980writesTable 1223 Data Exch. Column Def DeleteAll(true)
  4. 982callsTable 9600 XML Schema GetSchemaContext
  5. 984callsTable 9610 XML Schema Element IsLeaf
  6. 986callsTable 9610 XML Schema Element GetFullPath
  7. 990callsTable 1223 Data Exch. Column Def InsertRecordForImport
  8. 995callsTable 1223 Data Exch. Column Def SetXMLDataFormattingValues
  9. 997writesTable 1223 Data Exch. Column Def Modify

PushDefinitionOnStack line 1002, local

  1. 1015writesTable 9610 XML Schema Element Insert

PopDefinitionFromStack line 1018, local

  1. 1027writesTable 9610 XML Schema Element Delete

InitializeTempBuffers line 1040, local

  1. 1049writesTable 9610 XML Schema Element DeleteAll
  2. 1052writesTable 9610 XML Schema Element DeleteAll
  3. 1061writesTable 9610 XML Schema Element Insert
  4. 1065writesTable 9611 XML Schema Restriction DeleteAll
  5. 1074writesTable 9611 XML Schema Restriction Insert