|
|
The XmlFlags::ErrorLevel determines how strict the error reporting is when a Feature Schema is read from an XML Document. For each errorLevel a certain level of round-trip fidelity is guaranteed if the read succeeds.
- Parameters:
-
| ErrorLevel_High | the read fails with an exception when the Feature Schema cannot be read without alteration. If the Feature Schema is read successfully from document A and then written to document B, documents A and B are guaranteed to be identical. This errorLevel should be used when no alterations to the Feature Schema can be tolerated |
| ErrorLevel_Normal | fails if the Feature Schema cannot be read without changing the domain of its conforming instance documents. If the Feature Schema is read successfully from document A and then written to document B, any instance document that conforms to the document A schema will also conform to the document B schema. Any instance document that does not conform to A does not conform to B. However, documents A and B will not necessarily be identical. |
| ErrorLevel_Low | similar to ErrorLevel_Normal except that the instance document domain is allowed to grow. If the Feature Schema is read successfully from document A and then written to document B, any instance document that conforms to the document A schema will also conform to the document B schema. However a document that does not conform to the A schema may or may not conform to the B schema. |
| ErrorLevel_VeryLow | the read succeeds even if no level of round-trip fidelity is maintained. If the Feature Schema is read successfully from document A and then written to document B, any instance document that conforms to the document A schema may or may not conform to the document B schema. A document that does not conform to the A schema may or may not conform to the B schema. This errorLevel is useful for reading schemas from external sources into FDO when it doesn’t matter how much the schemas are altered during the read. |
- Enumerator:
-
ErrorLevel_High |
|
ErrorLevel_Normal |
|
ErrorLevel_Low |
|
ErrorLevel_VeryLow |
|
|
|