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: Re: [ubl] prd3-UBL-2.0 GC LocationUri naming errors

Thank you, Roberto, for bringing this to our 
attention.  I apologize for having missed seeing this when it was posted.

At 2006-09-26 00:41 +0200, roberto@javest.com wrote:
>I am currently finding the way to extract XSD targetNamespaces and GC
>CodeList LocationUri in order to generate xml catalog entries
>automatically (using Java)
>Below are the extracted xsd namespaces and gc location URIs.
>Unfortunately I found some mistakes on the gc codelist LocationUri, it
>appears some are ending with ".gc" other not.

I can see the pattern of the problem, and this 
can be rectified in a new cl/ directory.  It 
appears the generated locationURI for those code 
lists with only meta data are missing the 
filename extension.  This makes sense from the 
generation logic and should be an easy change.

In fact I have just made the fix to the code ... a one-line change.

Jon, this does not change the schemas, nor does 
it change the defaultCodeList.xsl file, it only 
changes the files in the directory of genericode 
files, and then only those without codes.  This 
will be confirmed when I re-run the processes 
with the new schemas (remembering, of course, the 
potential for impact by one-line changes).

>About XSD namespaces it seems they are perfect, but as this is a complete
>list I suggest that someone else have a deep check on everything.

I think your list reveals everything is 
acceptable:  the code list namespaces end in 
"-2.0" and the schema namespaces end in 
"-2".  The difference is that the code list is a 
resource that is wholly replaced with a new 
version, while the namespace is an identifier of 
a vocabulary that is merely augmented by portions belonging to a new version.

Thank you again, Roberto, for noticing this 
problem in time for it to be corrected.

. . . . . . . . . . . . . . . Ken

UBL/XML/XSLT/XSL-FO training: Vårø, Denmark 2006-10-02/06,11-20/24
UBL International 2006  2006-11-13/17 http://www.ublconference.com
World-wide corporate, govt. & user group UBL, XSL, & XML training.
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/o/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/o/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

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