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


Help: OASIS Mailing Lists Help | MarkMail Help

clr-dev message

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

Subject: Re: [clr-dev] Quotes in key values

Okay, Linda, you should be all set now.  I've just uploaded to 
Crane's resources an implementation of the methodology that supports 
coded values that have no quotes, single quotes or double quotes, but 
not coded values that have both a single quote and a double quote in 
the one value.

Since your original question asked if this was a problem with 
genericode, I've finished the thread publicly to answer that it is 
not a problem with genericode in any way ... it was a pure 
implementation issue.

In the future if list members have an implementation-specific 
question that doesn't reference the specification, please send it 
privately to the attention of the developer (in this case me) and not 
on the list.

Please let me know (off list) if you have any problems with this 
latest implementation.  I'll be pleased to address it as quick as I am able.

Thanks again for letting me know!

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

At 2008-03-05 10:10 -0500, I wrote:
>At 2008-03-05 15:44 +0100, Linda van den Brink wrote:
>>When using the Crane method for transforming CVA+Genericode to
>>Schematron, I stumbled upon the following:
>>"This methodology does not support key values containing single
>>quotes: "'s-Hertogenbosch" in list: xmlid=aanduidingreeks"
>>The list is a list of Dutch city names and unfortunately there are
>>city names that start with a single quote... Since it is a list of
>>unique names, I would like to be able to use them as key values, but
>>because of the quotes I apparently can't.
>>Is this a limitation of the Crane stylesheets or is there something
>>about this in the Genericode spec?
>It is only a limitation of Crane's stylesheets ... because of the 
>XPath expressions that are created as a result of the 
>transformation.  Genericode says nothing about its implementation so 
>there is nothing restricting the content of keys in 
>genericode.  This is only an implementation issue.
>I would be pleased to address this and will do so ASAP ... I was 
>unaware of the prevalence of coded values with single quotes, and 
>had thought this was a safe restriction.
>Because XPath expressions are specified in attributes, the treatment 
>of single and double quotes is laborious.
>I will announce a revision of the implementation when it is complete 
>... I am teaching today and tomorrow but will try to fit it into the 
>available time.
>Thank you, Linda, for bringing this to my attention.
>. . . . . . . . . . . . Ken

World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/c/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/c/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

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