[sword-devel] FreJND and HebDelitzsch released

David Haslam dfhmch at googlemail.com
Sat Aug 22 08:31:34 MST 2015


I grabbed the file base.osis from GitHub, and used XMLTools plugin to
validate the OSIS.

These errors were reported.

Validation of current file using XML schema:


ERROR: Element
'{http://www.bibletechnologies.net/2003/OSIS/namespace}osisText', attribute
'osisIDWork': [facet 'pattern'] The value '@NAME@' is not accepted by the
pattern '((\p{L}|\p{N}|_)+)((\.(\p{L}|\p{N}|_)+)*)?'.
ERROR: Element
'{http://www.bibletechnologies.net/2003/OSIS/namespace}osisText', attribute
'osisIDWork': '@NAME@' is not a valid value of the atomic type
'{http://www.bibletechnologies.net/2003/OSIS/namespace}osisWorkType'.
ERROR: Element '{http://www.bibletechnologies.net/2003/OSIS/namespace}work',
attribute 'osisWork': [facet 'pattern'] The value '@NAME@' is not accepted
by the pattern '((\p{L}|\p{N}|_)+)((\.(\p{L}|\p{N}|_)+)*)?'.
ERROR: Element '{http://www.bibletechnologies.net/2003/OSIS/namespace}work',
attribute 'osisWork': '@NAME@' is not a valid value of the atomic type
'{http://www.bibletechnologies.net/2003/OSIS/namespace}osisWorkType'.


Simplifying for readability:

ERROR: Element 'osisText', attribute 'osisIDWork': [facet 'pattern'] The
value '@NAME@' is not accepted by the pattern
'((\p{L}|\p{N}|_)+)((\.(\p{L}|\p{N}|_)+)*)?'.
ERROR: Element 'osisText', attribute 'osisIDWork': '@NAME@' is not a valid
value of the atomic type 'osisWorkType'.
ERROR: Element 'work', attribute 'osisWork': [facet 'pattern'] The value
'@NAME@' is not accepted by the pattern
'((\p{L}|\p{N}|_)+)((\.(\p{L}|\p{N}|_)+)*)?'.
ERROR: Element 'work', attribute 'osisWork': '@NAME@' is not a valid value
of the atomic type 'osisWorkType'.


Did the OSIS file validate using other standard tools?

NB. The use of @DATE@ and @DESC@ within the title is also suspect.

<title>Hebrew New Testament @DATE@ based on the Delitzsch translation from
1885 @DESC@</title>

David






--
View this message in context: http://sword-dev.350566.n4.nabble.com/FreJND-and-HebDelitzsch-released-tp4655047p4655053.html
Sent from the SWORD Dev mailing list archive at Nabble.com.



More information about the sword-devel mailing list