[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]