[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl-dev] problem with LocationUri in GeneriCode files
It would be really helpful if an link could be put in the web site so that the LocationURI actually works. I am currently writing my promised SME UBL implementation and I do actually validate all the URIs I hold (only once when I first meet one) and this one shows up as invalid where all the others (so far) are valid.
The validation is there so that if I receive a URI as part of a UBL datastream I can inform the user if this is a valid URI. I use the same display code for all URIs, so even those URIs that come from the GeneriCode get validated. It would a shame if the only ones to show as invalid were those from UBL supplied data especially as the fix does not involve changing any documents, just adding a directory alias on the server.
David
On Sunday, 10 June 2018 10:13:05 BST you wrote: > Thank you, David, for pointing this mistake out! > > Thankfully, the LocationURI does not participate in the validation of > values, so there is no impact on the normative deliverables. We can > live with the fault (and have done so until you pointed it out!). > > Thank you for taking the time to do so, but if this was a substantive > issue, then you used the wrong list. You should have used the UBL > public comment list. > > . . . . . Ken > > At 2018-06-08 11:42 +0100, you wrote: > >In those files which come from 2.0 you find something like:- > > > > > > > ><gc:CodeList xmlns:gc="http://genericode.org/2006/ns/CodeList/0.4/"> > > > > <Identification> > > > > <ShortName>UNDGCode</ShortName> > > <LongName>UNDGCode</LongName> > > <Version>2.0</Version> > > > ><CanonicalUri>urn:oasis:names:specification:ubl:codelist:gc:UNDGCode</Canon > >icalUri> > > > > > ><CanonicalVersionUri>urn:oasis:names:specification:ubl:codelist:gc:UNDGCode > >-2.0</CanonicalVersionUri> > > > > > ><LocationUri>http://docs.oasis-open.org/ubl/os-ubl-2.0/cl/gc/default/UNDGCo > >de-2.0.gc</LocationUri>> > > <Agency> > > > > <LongName xml:lang="en">OASIS Universal Business > > Language</LongName> > > <Identifier>UBL</Identifier> > > > > </Agency> > > > >..... > > > > > > > >The LocationUri should be:- > > > ><LocationUri>http://docs.oasis-open.org/ubl/os-UBL-2.0/cl/gc/default/UNDGCo > >de-2.0.gc</LocationUri> > > > > > > > > > >as the path is case sensitive. Alternatively the directory on the server > > > >needs to be renamed or aliased to match the LocationUri. > > > > > > > >The 2.1 and 2.2 LocationUri values seem to be correct. > > > > > > > >David > > -- > Contact info, blog, articles, etc. http://www.CraneSoftwrights.com/u/ | > 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]