[sword-devel] OSIS 2.1.1 schema validation checking and milestoneEnd

DM Smith dmsmith at crosswire.org
Tue Dec 29 08:19:38 MST 2015


The validators do not know semantics. They only know syntax.

If you don’t like the message, you can hack the schema and remove it.

— DM

> On Dec 29, 2015, at 9:57 AM, David Haslam <dfhmch at googlemail.com> wrote:
> 
> The OSIS User Manual states,
> 
> milestoneEnd: This element should not be used in current OSIS documents. It
> has been replaced by
> the milestoneable technique which provides better coverage of all known use
> cases.
> 
> Yet sometimes during validation checking, this message results:
> 
> ERROR: Element 'verse': This element is not expected. Expected is one of (
> a, abbr, date, divineName, foreign, hi, index, lb, milestone, milestoneEnd
> ).
> 
> Surely if element milestoneEnd is no longer allowed, then messages produced
> by OSIS validation should not include milestoneEnd among the expected list
> of elements?
> 
> Best regards,
> 
> David
> 
> 
> 
> 
> 
> --
> View this message in context: http://sword-dev.350566.n4.nabble.com/OSIS-2-1-1-schema-validation-checking-and-milestoneEnd-tp4655567.html
> Sent from the SWORD Dev mailing list archive at Nabble.com.
> 
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page




More information about the sword-devel mailing list