Oxygen Web Validation Panel - Errors with XML Schema
Posted: Mon Apr 28, 2025 9:17 pm
I deployed my first Oxygen framework to Oxygen Web and created/opened an XML file. The Validation panel reports the following errors.
These errors cite a problem with the actual XML Schema the XML file references. If I open the same XML file in Oxygen XML Editor, these errors are not reported in validation results. If I open the XML Schema and validate it directly, these errors are not reported in validation results.
Specifically, the "abcType" that the error messages cite is defined in the XML Schema as a complexType.
- A schema cannot contain two global components with the same name; this schema contains two occurrences of ',abcType'.
- Cannot resolve the name 'abcType_fn3dktizrknc9pi' to a(n) 'type definition' component.
These errors cite a problem with the actual XML Schema the XML file references. If I open the same XML file in Oxygen XML Editor, these errors are not reported in validation results. If I open the XML Schema and validate it directly, these errors are not reported in validation results.
Specifically, the "abcType" that the error messages cite is defined in the XML Schema as a complexType.
- This complexType is defined in global scope in one of the XSD files that is included by other XSD files.
- In the same XSD file, two elements are defined in global scope, each with different names but of type abcType. The Validation panel error messages are not citing the names of these elements.
- This complexType is redefined in the main XSD file (e.g., redefined and extended)