[osis-core] OSISCore.1.4.62 - regex and divTitle

Patrick Durusau osis-core@bibletechnologieswg.org
Wed, 02 Jul 2003 05:22:15 -0400


Todd,

Todd Tillinghast wrote:
> Patrick,
> 
> <xs:pattern value="x-[\w]+"/>
> 
> This seems to preclude white space which I think was the original
> intent.
> 

Yes, but also precludes all punctuation characters.

[\w] = [#x0000-#x10FFFFF]-[\p{P}\p{Z}\p{C}]

Where P = punctuation characters, Z = separator characters, C = control 
characters.

Since (hopefully) no encoder will ever see the regex, suggest (this is 
in 1.4.63, which should be out by 8 AM):

"x-([#x0000-#x10FFFF]-[\p{Z}\p{C}])+" which excludes space and control 
characters but not punctuation.

Hope you are at the start of a great day!

Patrick

> Todd
> 
> 
>>-----Original Message-----
>>From: osis-core-admin@bibletechnologieswg.org [mailto:osis-core-
>>admin@bibletechnologieswg.org] On Behalf Of Todd Tillinghast
>>Sent: Tuesday, July 01, 2003 6:41 PM
>>To: osis-core@bibletechnologieswg.org
>>Subject: RE: [osis-core] OSISCore.1.4.62 - regex and divTitle
>>
>>Patrick,
>>
>>I am not sure what is wrong with the regex but the following is not
>>valid.
>><div type="x-abc">
>>
>>Also, I am not sure that the regex for osisScripts is correct?
>>
>>I don't recall the final conclusion on removing divTitle (if there was
>>one).  In any case it is still in the schema and in my opinion it
> 
> should
> 
>>be removed for all of the reasons I previously stated.
>>
>>Todd
>>
>>
>>>-----Original Message-----
>>>From: osis-core-admin@bibletechnologieswg.org [mailto:osis-core-
>>>admin@bibletechnologieswg.org] On Behalf Of Patrick Durusau
>>>Sent: Tuesday, July 01, 2003 2:05 PM
>>>To: osis-core@bibletechnologieswg.org
>>>Subject: [osis-core] OSISCore.1.4.62
>>>
>>>Guys,
>>>
>>>Latest version attached.
>>>
>>>Note:
>>>
>>>1. Check out attributeExtension (new regex):
>>>
>>><xs:pattern value="x-(([\w]-[\s])+)"/>
>>>
>>>2. Type and subType on globalWithoutType and globalWithType now are
>>>"type" = attributeExtension
>>>
>>>3. Namespaces added
>>>
>>>4. Have not collapsed <osisWorkType>, <osisSubWorkType> (Todd and I
>>>agree, waiting for Steve/Troy/Chris?) Will collapse and do an early
>>
> AM
> 
>>>release tomorrow if we get some more +1's.
>>>
>>>Open Issue: Steve suggested review of div types and the
>>
> osisWorkTypes:
> 
>>>Note that Commentary is the only common one (with different case). I
>>>think that you could have a <div type="commentary"> in a Bible.
>>
> Lists
> 
>>>from both follow for ease of reference:
>>>
>>>div types:
>>>
>>>(from osisDivs)
>>>
>>>acknowledgement
>>>afterword
>>>appendix
>>>backbody
>>>book
>>>bookGroup
>>>colophon
>>>commentary
>>>concordance
>>>coverPage
>>>dedication
>>>devotional
>>>entry
>>>front
>>>gazetter
>>>glossary
>>>imprimatur
>>>index
>>>introduction
>>>majorSection
>>>map
>>>outline
>>>preface
>>>section
>>>subSection
>>>titlePage
>>>
>>>from osisContentWorks:
>>>
>>>Bible
>>>Commentary
>>>Lexicon
>>>Literary
>>>Other
>>>Sacred
>>>
>>>Hmmm, does seem like dictionary would be appropriate for
>>>osisDivs...other comments?
>>>
>>>Early than anticipated I know but Carol has story time at the
>>
> library
> 
>>>tonight so I may be able to get out another revision tonight if
>>
> anyone
> 
>>>has any quick comments on this version.
>>>
>>>Hope everyone is having a great day!
>>>
>>>Patrick
>>>
>>>
>>>--
>>>Patrick Durusau
>>>Director of Research and Development
>>>Society of Biblical Literature
>>>Patrick.Durusau@sbl-site.org
>>>Chair, V1 - Text Processing: Office and Publishing Systems Interface
>>>Co-Editor, ISO 13250, Topic Maps -- Reference Model
>>>
>>>Topic Maps: Human, not artificial, intelligence at work!
>>
>>_______________________________________________
>>osis-core mailing list
>>osis-core@bibletechnologieswg.org
>>http://www.bibletechnologieswg.org/mailman/listinfo/osis-core
> 
> 
> _______________________________________________
> osis-core mailing list
> osis-core@bibletechnologieswg.org
> http://www.bibletechnologieswg.org/mailman/listinfo/osis-core
> 


-- 
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
Patrick.Durusau@sbl-site.org
Chair, V1 - Text Processing: Office and Publishing Systems Interface
Co-Editor, ISO 13250, Topic Maps -- Reference Model

Topic Maps: Human, not artificial, intelligence at work!