It has been proposed to change the definition of the existing XPath BBIE.

      This is the example that was being discussed on the 2019-10-23 call:

      <?xml version="1.0" encoding="UTF-8"?>
      <Invoice>
        <ID>INV1234</ID>
        <Information>
          <DocumentReference>
            <ID>PO9876</ID>
            <IssueDate>2019-10-20</IssueDate>
            <DocumentTypeCode>PO</DocumentTypeCode>
            <VersionID>3</VersionID>
            <DocumentStatusCode>Approved</DocumentStatusCode>
            <DocumentDescription>The purchase order</DocumentDescription>
          </DocumentReference>
        </Information>
        <OtherInformation>
          <DocumentReference>
            <ID>PO9876</ID>
            <XPath>/Invoice/Information[1]/DocumentReference[1]</XPath>
          </DocumentReference>
        </OtherInformation>
      </Invoice>
      
      <!--
      Current definition:
      
        A reference to another place in the same XML document instance in which
                       \=============================================/  |
                                 ^                                      |
                                 |                                      |
                                 `––––––––––––––––––––––––––––––––––––––'
       DocumentReference appears. 
      
      Do we need an additional BBIE?
      
        ReferencedDocumentXPath - A reference to a place found within the referenced document.
      -->
      

      It was noted in the meeting that the same result is effected by changing the document being referenced to be the self and changing the definition:

       

        <OtherInformation>
          <DocumentReference>
            <ID>INV1234</ID>
            <XPath>/Invoice/Information[1]/DocumentReference[1]</XPath>
          </DocumentReference>
        </OtherInformation>
      

       

            Assignee:
            kenneth.bengtsson
            Reporter:
            Ken Holman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: