Ens.Util.XML.Validator
class Ens.Util.XML.Validator extends %XML.SAX.ContentHandler
Property Inventory
Method Inventory
Properties
property Errors as list of %String;
This holds any error messages from validation of the XML document
Property methods: ErrorsBuildValueArray(), ErrorsCollectionToDisplay(), ErrorsCollectionToOdbc(), ErrorsDisplayToCollection(), ErrorsDisplayToLogical(), ErrorsGet(), ErrorsGetObject(), ErrorsGetObjectId(), ErrorsGetSwizzled(), ErrorsIsValid(), ErrorsLogicalToDisplay(), ErrorsLogicalToOdbc(), ErrorsNormalize(), ErrorsOdbcToCollection(), ErrorsSet(), ErrorsSetObject(), ErrorsSetObjectId()
Methods
This method takes the file/path name of the XML file to be validated and an [optional] schema
spec of the XML schema(s) to be used to validate the document.
classmethod ValidateStream(pTargetStream As %BinaryStream, pResolver As Ens.Util.XML.Resolver, pSchemaSpec As %String = "") as %Status
This method takes a stream of XML to be validated, an entity resolver and an [optional] schema
spec to be used to validate the document.
method error(error As %Library.String)
Receive notification of a recoverable parser error.
method fatalError(fatalerror As %Library.String)
Report a fatal XML parsing error.
method warning(warning As %Library.String)
Receive notification of a parser warning.
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- LocatePosition()
- Mask()
- OnPostParse()
- PopHandler()
- PushHandler()
- characters()
- comment()
- endCDATA()
- endDTD()
- endDocument()
- endElement()
- endEntity()
- endPrefixMapping()
- ignorableWhitespace()
- processingInstruction()
- skippedEntity()
- startCDATA()
- startDTD()
- startDocument()
- startElement()
- startEntity()
- startPrefixMapping()