1# Attempt to prevent catastrophe by validating required settings 2# and aborting on any subshell error 3set -e 4if [ -z "${PYXB_ROOT+notset}" ] ; then 5 echo 1>&2 ERROR: PYXB_ROOT not set 6 exit 1 7fi 8 9BUNDLE_TAG=saml20 10WSSPLAT_RAW=${PYXB_ROOT}/pyxb/bundles/wssplat/raw 11SAML20_RAW=${PYXB_ROOT}/pyxb/bundles/saml2/raw 12 13. ${PYXB_ROOT}/maintainer/bundlesupport.sh 14 15( cat <<EOList 16http://docs.oasis-open.org/security/saml/v2.0/saml-schema-assertion-2.0.xsd assertion 17http://docs.oasis-open.org/security/saml/v2.0/saml-schema-metadata-2.0.xsd metadata 18http://docs.oasis-open.org/security/saml/v2.0/saml-schema-protocol-2.0.xsd protocol 19http://docs.oasis-open.org/security/saml/v2.0/saml-schema-dce-2.0.xsd dce 20http://docs.oasis-open.org/security/saml/v2.0/saml-schema-ecp-2.0.xsd ecp 21http://docs.oasis-open.org/security/saml/v2.0/saml-schema-x500-2.0.xsd x500 22http://docs.oasis-open.org/security/saml/v2.0/saml-schema-xacml-2.0.xsd xacml 23EOList 24) | generateBindings --archive-path=${RAW_DIR}:${WSSPLAT_RAW}:+ 25