What Does "XML Parser Error Exception Caught Adding Schema Filename To Cache" Mean
Description
The error "XML Parser Error: Exception caught adding schema <filename> to cache" when trying to validate, or to print a script is not a validation error, but an XML Parser initialization exception. When each XML Parser is initialized all the needed schemas are loaded at the same time into a schema cache. The error above is issued when there is a failure to properly load a schema.
If you see this error, first check the .XSD files that LPS uses for scripting and label validation;
- LPSLabels.xsd
- LegacyLabel.xsd
- LoftLabelFormat.xsd.
Each of the files should contain the correct namespace and the namespace is case sensitive, so it must match exactly.
The namespace should be:
xmlns="http://www.loftware.com/schemas"
Article Number
2013079
Versions
All LLM/LPS versions
Environment
All supported installation environments.