5#include <system/exceptions.h>
6#include <system/array.h>
21class BinaryFacetsChecker;
22class CompiledIdentityConstraint;
24class Datatype_dayTimeDuration;
25class Datatype_doubleXdr;
26class Datatype_duration;
27class Datatype_floatXdr;
29class Datatype_NOTATION;
31class Datatype_QNameXdr;
33class Datatype_yearMonthDuration;
34class DatatypeImplementation;
35class DateTimeFacetsChecker;
37class DurationFacetsChecker;
39class ListFacetsChecker;
40class Numeric10FacetsChecker;
41class Numeric2FacetsChecker;
44class QNameFacetsChecker;
46class SchemaCollectionCompiler;
47class SchemaCollectionPreprocessor;
48class SchemaElementDecl;
50class StringFacetsChecker;
51class UnionFacetsChecker;
56class XmlSchemaParticle;
59class XmlSchemaValidator;
64class XmlTextReaderImpl;
75class Details_XmlSchemaException;
84 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
85 ASPOSECPP_SHARED_RTTI_INFO_DECL();
94 friend class XmlTextReaderImpl;
96 friend class BaseValidator;
97 friend class BaseProcessor;
98 friend class CompiledIdentityConstraint;
99 friend class DatatypeImplementation;
100 friend class Datatype_List;
101 friend class Datatype_union;
102 friend class Datatype_duration;
103 friend class Datatype_yearMonthDuration;
104 friend class Datatype_dayTimeDuration;
105 friend class Datatype_QName;
106 friend class Datatype_NOTATION;
107 friend class Datatype_doubleXdr;
108 friend class Datatype_floatXdr;
109 friend class Datatype_QNameXdr;
110 friend class DtdParser;
111 friend class DtdValidator;
113 friend class FacetsChecker;
114 friend class FacetsChecker;
115 friend class Numeric10FacetsChecker;
116 friend class Numeric2FacetsChecker;
117 friend class DurationFacetsChecker;
118 friend class DateTimeFacetsChecker;
119 friend class StringFacetsChecker;
120 friend class QNameFacetsChecker;
121 friend class BinaryFacetsChecker;
122 friend class ListFacetsChecker;
123 friend class UnionFacetsChecker;
126 friend class Preprocessor;
127 friend class SchemaAttDef;
128 friend class SchemaCollectionCompiler;
129 friend class SchemaCollectionPreprocessor;
130 friend class SchemaElementDecl;
131 friend class SchemaInfo;
132 friend class Compiler;
133 friend class XdrBuilder;
134 friend class XdrValidator;
138 friend class XsdBuilder;
139 friend class XsdValidator;
141 friend class System::ExceptionWrapperHelper;
227 void SetSource(
const String& sourceUri, int32_t lineNumber, int32_t linePosition);
231 #ifdef ASPOSE_GET_SHARED_MEMBERS
232 ASPOSECPP_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
242 int32_t _linePosition;
A base class for classes that represent system (rather than application) exceptions....
Template that represents wrapper of exceptions that are derived from Exception class.
Definition: exception.h:113
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Returns detailed information about the schema exception.
Definition: xml_schema_exception.h:80
int32_t get_LineNumber()
Returns the line number indicating where the error occurred.
String get_Message() const override
Returns the description of the error condition of this exception.
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_XmlSchemaException, CODEPORTING_ARGS(String message))
Details_XmlSchemaException(const String &message, Exception innerException)
Initializes a new instance of the XmlSchemaException class with the exception message and original Ex...
Details_XmlSchemaException(const String &message, Exception innerException, int32_t lineNumber, int32_t linePosition)
Initializes a new instance of the XmlSchemaException class with the exception message specified,...
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_XmlSchemaException, CODEPORTING_ARGS())
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_XmlSchemaException, CODEPORTING_ARGS(String message, Exception innerException, int32_t lineNumber, int32_t linePosition))
String get_SourceUri()
Returns the Uniform Resource Identifier (URI) location of the schema that caused the exception.
int32_t get_LinePosition()
Returns the line position indicating where the error occurred.
SharedPtr< XmlSchemaObject > get_SourceSchemaObject()
The XmlSchemaObject that produced the XmlSchemaException.
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_XmlSchemaException, CODEPORTING_ARGS(String message, Exception innerException))
void DoThrow(const System::ExceptionPtr &self) const override
Throws exception instance wrapped by exception wrapper.
Details_XmlSchemaException()
Initializes a new instance of the XmlSchemaException class.
Details_XmlSchemaException(const String &message)
Initializes a new instance of the XmlSchemaException class with the exception message specified.
Returns information about errors encountered by the XmlSchemaInference class while inferring a schema...
Definition: xml_schema_inference_exception.h:35
Represents the exception thrown when XML Schema Definition Language (XSD) schema validation errors an...
Definition: xml_schema_validation_exception.h:41
A base class for that is the base class for all particle types (e.g. XmlSchemaAny).
Definition: xml_schema_particle.h:47
Contains a cache of XML Schema definition language (XSD) schemas.
Definition: xml_schema_set.h:66
Represents an XML Schema Definition Language (XSD) Schema validation engine. The XmlSchemaValidator c...
Definition: xml_schema_validator.h:93
Encodes and decodes XML names, and provides methods for converting between runtime types and XML Sche...
Definition: xml_convert.h:141
System::ExceptionWrapper< Details_XmlSchemaValidationException > XmlSchemaValidationException
Definition: xml_schema_validation_exception.h:36
System::ExceptionWrapper< Details_XmlSchemaInferenceException > XmlSchemaInferenceException
Definition: xml_schema_inference_exception.h:31
@ Schema
Validate according to XML Schema definition language (XSD) schemas, including inline XML Schemas....
@ Xml
Serialize according to the XML 1.0 rules.
Definition: db_command.h:9