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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl message

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


Subject: [OASIS Issue Tracker] (UBL-263) Discussion of XPath BBIE definition


Ken Holman created UBL-263:
------------------------------

             Summary: Discussion of XPath BBIE definition
                 Key: UBL-263
                 URL: https://issues.oasis-open.org/browse/UBL-263
             Project: OASIS Universal Business Language (UBL) TC
          Issue Type: Improvement
            Reporter: Ken Holman
            Assignee: Ken Holman


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:
{code:java}
<?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.
-->
{code}
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:

Â
{code:java}
  <OtherInformation>
  <DocumentReference>
   <ID>INV1234</ID>
   <XPath>/Invoice/Information[1]/DocumentReference[1]</XPath>
  </DocumentReference>
 </OtherInformation>
{code}
Â



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


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