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

BIX XML with -c has outer <Classes> tags but not XSD

SA-26623

Summary



When executing a BIX extract to XML using the -c flag the XML file has outer <Classes> </Classes> tags but corresponding XSD file does not.  
For example xml looks like this:

<Classes>
<PegaSample xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
...
</PegaSample>
<PegaSample-CustomerRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
...
</PegaSample-CustomerRequest>
...

</Classes>

But XSD looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xalan="http://xml.apache.org/xalan" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<!--Class taken from Extract -->
<xs:element name="PegaSample">
...
</xs:element>
</xs:schema>
<?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xalan="http://xml.apache.org/xalan" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<!--Class PegaSample-CustomerRequest -->
<xs:element name="PegaSample-CustomerRequest">
...
</xs:element>
</xs:schema>


Error Messages



Not Applicable


Steps to Reproduce



Run BIX xml extract using -c option.


Root Cause



A defect in Pegasystems’ code or rules. The -c option will include children classes. It is used to extract the data for each sibling class of the class (classgroup/non class group) on which the extract is defined and thus the output XML will have a series of Classes. The outer <Classes> </Classes> tags in the XML file are included as designed. The corresponding XSD file should include this required element.  
 

Resolution



Manually updated the XML/XSD to match.  BUG-259481 will address the mismatch in future release.
 

Published August 17, 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