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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-comment message

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


Subject: Re: [ubl-comment] Duplicated fields in Genericode file


Thank you, David, for bringing this to the committee's attention!

At 2017-09-25 21:09 +0100, David Goodenough wrote:
In the UBL 2.2 distribution ZIP file there is a file:-

I'm assuming you are referring to the development "putative release" recently posted, because I can find the problem you've reported in the files cited from my post here:

  https://lists.oasis-open.org/archives/ubl/201709/msg00042.html

Indeed, there are a number of entries with multiple description fields. I can trace this to the source XML because there are multiple paragraphs in the Excel table cell for those Unit of Measure entries. The code is triggering on the paragraphs, not on the cells.

The description of Genericode does not specify what should happen when
a columnref is duplicated in a row - should the values be concatenated
or should the duplicate be ignored?

The duplicate should be reported as a bug to the programmer! I feel sufficiently chastised, thank you. You did the right thing by reporting it.

Accordingly, I will incorporate a two-stage validation of the generated genericode files: the first pass will use the XSD schema, and I'll write a genericode set of Schematron assertions to confirm issues such as duplicate columns and absent required columns. This should allow reviewers such as yourself to focus on the content and not the structure of the files.

Thank you, again, for your support of our work by taking the time to report this! And it is timely so that I can get the fix in for our next public review.

. . . . . . . . Ken


--
Contact info, blog, articles, etc. http://www.CraneSoftwrights.com/o/ |
Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Streaming hands-on XSLT/XPath 2 training class @ US$45 (5 hours free) |



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