Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

MetaData Accelerator does not parse a valid XSD File



MetaData Accelerator is used to create the class structure and parse rules. However the wizard is failing with below mentioned error.

The XSDs are correctly parsed by JAXB and standard XML displayer.

Error Messages

pyMetadata:** Could not initialize XSD component builder: Caught exception parsing XML stream

Caused by: org.xml.sax.SAXParseException: The prefix "tns" for attribute "tns:type" associated with an element type "xs:simpleType" is not bound.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at com.pega.pegarules.integration.engine.internal.mapping.XMLParserBase.parseDocument(
... 74 more

Steps to Reproduce

Run the Connector and MetaData Accelerator and Load XML Schema Document provided.

Root Cause

The XSD was not valid. The tns namespace was not defined in the XSD.


A corrected version of the XSD processes satisfactorily.

Published February 9, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us