[tei-council] Fwd: [tei:bugs] #697 sequence of declaration info is lost when making an ODD
Lou Burnard
lou.burnard at retired.ox.ac.uk
Fri Oct 31 05:59:14 EDT 2014
-------- Forwarded Message --------
Subject: [tei:bugs] #697 sequence of declaration info is lost when
making an ODD
Date: Fri, 31 Oct 2014 09:56:56 +0000
From: Lou Burnard <louburnard at users.sf.net>
Reply-To: Ticket 697 <697 at bugs.tei.p.re.sf.net>
To: Ticket 697 <697 at bugs.tei.p.re.sf.net>
------------------------------------------------------------------------
*[bugs:#697] <http://sourceforge.net/p/tei/bugs/697> sequence of
declaration info is lost when making an ODD*
*Status:* open
*Group:* AMBER
*Created:* Fri Oct 31, 2014 09:56 AM UTC by Lou Burnard
*Last Updated:* Fri Oct 31, 2014 09:56 AM UTC
*Owner:* nobody
Consider model.physDescPart_sequenceOptional. In TEI_All, this has the
declaration
objectDesc?,
handDesc?,
typeDesc?,
scriptDesc?,
musicNotation?,
decoDesc?,
additions?,
bindingDesc?,
sealDesc?,
accMat?
i.e., the members of the class are listed in a specific order, which is
that of their declaration in P5.
Now see what happens when you delete some of them from your ODD (whether
by not prouiding an <elementRef> for them, by using @exclude, or by
using @include)
The declaration for that same pattern in your generated schema now
reorders them alphabetically, like this:
model.physDescPart_sequenceOptional =
accMat?,
additions?,
bindingDesc?,
decoDesc?,
handDesc?,
objectDesc?,
typeDesc?
so a document which is ualid against TEI-ALL will not be ualid against
your generated schema.
This cannot be right, but I am not sure what should be done to fix it.
------------------------------------------------------------------------
Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/tei/bugs/697/
<https://sourceforge.net/p/tei/bugs/697>
To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/
<https://sourceforge.net/auth/subscriptions>
More information about the tei-council
mailing list