OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-bp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: PIP 7C7, xslt transform from 1.01 to 2.0, conversion and oxygen reported errors.


Hi

 

Here is a first experiment with converting 1.01  BPSS instances to 2.0 instances.

Feel free to use this as a starting point for converting from 1.04 or 1.05 or other BPSS schema versions

 

I have attached a RosettaNet PIP for 7C7 (changed just a little to test some transform features), the transform, the result of conversion, and oxygen 5’s complaints about the converted instance.

 

Many complaints are about invalid attribute values, and sometimes the complaints have caught errors in the original BPSS instance. Because I won’t have too much time to work on the transform, I am hoping others may have an idle plane flight to tinker with it and suggest enhancements and fixes.

 

 I would also appreciate help in identifying the parts of the BPSS for the 7C7 PIP that are erroneous so that we can inform RosettaNet about them.

 

Thanks

Dale Moberg

<?xml version="1.0" encoding="UTF-8"?>
<ProcessSpecification name="PIP7C7NotifyOfSemiconductorTestData"
    nameID="urn:rosettanet:specification:interchange:PIP7C7:xml:bpss:v11_00"
    version="V11.00"
    xmlns="http://www.ebxml.org/BusinessProcess/1.01";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
    xsi:schemaLocation="http://www.ebxml.org/BusinessProcess ebBPSS1.01.xsd">
    <Documentation>The purpose of this PIP is to improve the timeliness of the semiconductor test
        data exchange between trading partners, at the same time reduce the IT infrastructure costs
        from multiple customized data transmission formats to a single standard, as well as promote
        closer collaboration and on-demand response to data issues between the Customer and their
    Foundry and Test Services trading partners.</Documentation>
 <Documentation>Second Doc</Documentation>
    <!--REM: Semiconductor Test Data Notification Document-->
    <BusinessDocument name="Semiconductor Test Data Notification"
        nameID="PIP7C7SemiconductorTestDataNotification" specificationLocation="urn:rosettanet:specification:interchange:SemiconductorTestDataNotification:xsd:schema:1.0">
        <Documentation>The document is an XML Schema file that specifies the rules for creating the
            XML document for the business action of notification of a sales report. The
            specificationLocation attribute is used for illustrative purposes only.</Documentation>
    </BusinessDocument>
    <Package name="Manufacturing" nameID="7">
        <Documentation>Defines Cluster</Documentation>
        <Package name="Distribute Manufacturing Information" nameID="7C">
            <Documentation>Defines Segment</Documentation>
            <Package name="Notify Of Semiconductor Test Data" nameID="7C7">
                <Documentation>Defines PIP</Documentation>
                <BusinessTransaction name="Notify Of Semiconductor Test Data"
                    nameID="NotifyOfSemiconductorTestData_BT" isGuaranteedDeliveryRequired="true">
                    <RequestingBusinessActivity name="Initiate Semiconductor Test Data Notification"
                        nameID="InitiateSemiconductorTestDataNotification"
                        isAuthorizationRequired="true" isIntelligibleCheckRequired="true"
                        isNonRepudiationReceiptRequired="true" isNonRepudiationRequired="true"
                        timeToAcknowledgeReceipt="PT2H" retryCount="3">
                        <DocumentEnvelope name="Semiconductor Test Data Notification"
                            nameID="SemiconductorTestDataNotification_DE"
                            businessDocument="//BusinessDocument[@name=&quot;Semiconductor Test Data Notification&quot;]"
                            businessDocumentIDREF="PIP7C7SemiconductorTestDataNotification"
                            isAuthenticated="persistent" isConfidential="transient" isTamperDetectable="persistent"/>
                    </RequestingBusinessActivity>
                    <RespondingBusinessActivity name="Process Semiconductor Test Data Notification" nameID="ProcessSemiconductorTestDataNotification"/>
                </BusinessTransaction>
                <!--REM: Binary Collaborations-->
                <BinaryCollaboration name="Notify Of Semiconductor Test Data"
                    nameID="NotifyOfSemiconductorTestData_BC"
                    initiatingRoleIDREF="FoundryOrTestServicesID" preCondition="true" postCondition="true">
                    <Documentation>The PIP Start State is comprised of the following conditions: a.
                        TPA Approved and Exist In Backend System b. Sending Partner Exist as Party
                        and Valid c. Receiving Partner Exist as Party d. Business Document Exist In
                        Backend System, Valid, Non-Repudiated and Authorized </Documentation>
                    <Documentation>The PIP End States are comprised of the following conditions: a.
                        Acknowledgment of Receipt Exist In Backend System, Valid and Non-Repudiated
                        b. Receiving Partner Authorized ; PIP Failure State: a. NOT Successful b.
                        Retry Count Exceeded</Documentation>
                    <Role name="FoundryOrTestServices" nameID="FoundryOrTestServicesID"/>
                    <Role name="Customer" nameID="CustomerID"/>
                    <Start nameID="Start_ST"
                        toBusinessState="../BusinessTransactionActivity[@name=&quot;Notify Of Semiconductor Test Data&quot;]" toBusinessStateIDREF="PIP7C7SemiconductorTestDataNotification"/>
                    <BusinessTransactionActivity name="Notify Of Semiconductor Test Data"
                        nameID="NotifyOfSemiconductorTestData_BTA"
                        businessTransaction="//BusinessTransaction[@name=&quot;Notify Of Semiconductor Test Data&quot;]"
                        businessTransactionIDREF="NotifyOfSemiconductorTestData_BT"
                        fromRole="../Role[@name=&quot;FoundryOrTestServices&quot;]"
                        fromRoleIDREF="FoundryOrTestServicesID"
                        toRole="../Role[@name=&quot;Customer&quot;]" toRoleIDREF="CustomerID"
                        isLegallyBinding="true" isConcurrent="false"/>
                    <!--REM: The following shows a business transaction with two (one-pair) possible responses, each pair with a success and a failure.These are designed to reflect 	business level conditions only and not message level conditions such as Receipt Acknowledgements (ReceiptAck) and/or Notification of Failures (NoF). -->
                    <!--REM:  Success Condition for Notify Of Semiconductor Test Data-->
                    <Success nameID="Start_ST"
                        fromBusinessState="../BusinessTransactionActivity[@name=&quot;Notify Of Semiconductor Test Data&quot;]" conditionGuard="Success">
                        <ConditionExpression expressionLanguage="XPath" expression="//BusinessServiceInformation/ProcessState=&quot;Success&quot;"/>
                    </Success>
                    <!--REM:  Failure Condition for Notify Of Semiconductor Test Data-->
                    <Failure nameID="Failure_ST"
                        fromBusinessState="../BusinessTransactionActivity[@name=&quot;Notify Of Semiconductor Test Data&quot;]" conditionGuard="BusinessFailure">
                        <ConditionExpression expressionLanguage="XPath" expression="//BusinessServiceInformation/ProcessState=&quot;Failure&quot;"/>
                    </Failure>
                </BinaryCollaboration>
            </Package>
        </Package>
    </Package>
</ProcessSpecification>

bpss convert.xsl

<?xml version="1.0" encoding="utf-8"?>
<ProcessSpecification xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://www.oasis-open.org/committees/ebBP/BPS/2.0 file:/C:/ebBPSS-2_feb20-tc-review.xsd"
    xmlns="http://www.oasis-open.org/committees/ebBP/BPS/2.0";
    name="PIP7C7NotifyOfSemiconductorTestData"
    nameID="urn:rosettanet:specification:interchange:PIP7C7:xml:bpss:v11_00"
    specificationVersion="2.0" instanceVersion="instance.jjj" uuid="jjj">
    <Documentation>The purpose of this PIP is to improve the timeliness of the semiconductor test
        data exchange between trading partners, at the same time reduce the IT infrastructure costs
        from multiple customized data transmission formats to a single standard, as well as promote
        closer collaboration and on-demand response to data issues between the Customer and their
        Foundry and Test Services trading partners.</Documentation>
    <Documentation>Second Doc</Documentation>
    <Package name="Manufacturing" nameID="7">
        <Package name="Distribute Manufacturing Information" nameID="7C">
            <Package name="Notify Of Semiconductor Test Data" nameID="7C7">
                <BusinessTransaction name="Notify Of Semiconductor Test Data" nameID="NotifyOfSemiconductorTestData_BT">
                    <RequestingBusinessActivity name="Initiate Semiconductor Test Data Notification"
                        nameID="InitiateSemiconductorTestDataNotification"
                        isAuthorizationRequired="true" isIntelligibleCheckRequired=""
                        isNonRepudiationReceiptRequired="true" isNonRepudiationRequired="true"
                        timeToAcknowledgeReceipt="PT2H" retryCount="3">
                        <DocumentEnvelope name="Semiconductor Test Data Notification"
                            nameID="SemiconductorTestDataNotification_DE"
                            businessDocumentIDREF="PIP7C7SemiconductorTestDataNotification"
                            isAuthenticated="persistent" isConfidential="transient" isTamperDetectable="//BusinessDocument[@name=&#34;Semiconductor Test Data Notification&#34;]"/>
                    </RequestingBusinessActivity>
                    <RespondingBusinessActivity name="Process Semiconductor Test Data Notification" nameID="ProcessSemiconductorTestDataNotification"/>
                </BusinessTransaction>
                <BinaryCollaboration name="Notify Of Semiconductor Test Data"
                    nameID="NotifyOfSemiconductorTestData_BC" pattern="">
                    <Documentation>The PIP Start State is comprised of the following conditions: a.
                        TPA Approved and Exist In Backend System b. Sending Partner Exist as Party
                        and Valid c. Receiving Partner Exist as Party d. Business Document Exist In
                        Backend System, Valid, Non-Repudiated and Authorized </Documentation>
                    <Documentation>The PIP End States are comprised of the following conditions: a.
                        Acknowledgment of Receipt Exist In Backend System, Valid and Non-Repudiated
                        b. Receiving Partner Authorized ; PIP Failure State: a. NOT Successful b.
                        Retry Count Exceeded</Documentation>
                    <Role name="FoundryOrTestServices" nameID="FoundryOrTestServicesID"/>
                    <Role name="Customer" nameID="CustomerID"/>
                    <BusinessTransactionActivity name="Notify Of Semiconductor Test Data"
                        nameID="NotifyOfSemiconductorTestData_BTA"
                        businessTransactionRef="NotifyOfSemiconductorTestData_BT" hasLegalIntent="true">
                        <PreCondition expression="true" expressionLanguage="DocumentEnvelopeLanguage"/>
                        <PostCondition expression="true" expressionLanguage="DocumentEnvelopeLanguage"/>
                        <Performs currentRoleRef="FoundryOrTestServicesID" initiatingRoleRef="InitiateSemiconductorTestDataNotification"/>
                        <Performs currentRoleRef="CustomerID" respondingRoleRef="ProcessSemiconductorTestDataNotification"/>
                    </BusinessTransactionActivity>
                    <Success name="" nameID="Start_ST">
                        <FromLink xmlns="" conditionGuard="Success" fromBusinessStateRef="../BusinessTransactionActivity[@name=&#34;Notify Of Semiconductor Test Data&#34;]">
                            <ConditionExpression xmlns="http://www.oasis-open.org/committes/ebBP";
                                expression="//BusinessServiceInformation/ProcessState=&#34;Success&#34;" expressionLanguage="XPath"/>
                        </FromLink>
                    </Success>
                    <Failure name="" nameID="Failure_ST">
                        <FromLink xmlns="" conditionGuard="BusinessFailure" fromBusinessStateRef="../BusinessTransactionActivity[@name=&#34;Notify Of Semiconductor Test Data&#34;]">
                            <ConditionExpression xmlns="http://www.oasis-open.org/committes/ebBP";
                                expression="//BusinessServiceInformation/ProcessState=&#34;Failure&#34;" expressionLanguage="XPath"/>
                        </FromLink>
                    </Failure>
                </BinaryCollaboration>
            </Package>
        </Package>
    </Package>
    <BusinessDocument name="Semiconductor Test Data Notification" nameID="PIP7C7SemiconductorTestDataNotification">
        <Documentation>The document is an XML Schema file that specifies the rules for creating the
            XML document for the business action of notification of a sales report. The
            specificationLocation attribute is used for illustrative purposes only.</Documentation>
        <Specification name="Semiconductor Test Data Notification"
            nameID="PIP7C7SemiconductorTestDataNotification" location="urn:rosettanet:specification:interchange:SemiconductorTestDataNotification:xsd:schema:1.0"/>
    </BusinessDocument>
</ProcessSpecification>

oxyerrors.doc



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]