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.

_______________________________________________
sword-devel mailing list: [email protected]
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to