I think I’ve fixed DTD creation—I can build valid exemplar DTDs anyway. The Stylesheets tests are now foundering on a new reef: ODD by Example. Possibly not surprising that would be broken… Still, progress has been made.
On 30/12/15 14:36, Hugh Cayless wrote:
I think I’ve fixed DTD creation—I can build valid exemplar DTDs anyway. The Stylesheets tests are now foundering on a new reef: ODD by Example. Possibly not surprising that would be broken…
Still, progress has been made.
That's very good news! I just rebuilt everything, including the web pages, sans probleme. A good way to close the year. What problem are you getting with oddbyexample? Works for me... So, can we now merge the Pure ODD source of P5 into the dev branch? If so, how?
It’s actually not oddbyexample per se, but an un-implemented bit in the ODD expansion XSLT, leading to invalid XSDs. The oddbyexample tests in the Stylesheets surfaced it. Working on it.
On Dec 30, 2015, at 11:54 , Lou Burnard
wrote: On 30/12/15 14:36, Hugh Cayless wrote:
I think I’ve fixed DTD creation—I can build valid exemplar DTDs anyway. The Stylesheets tests are now foundering on a new reef: ODD by Example. Possibly not surprising that would be broken…
Still, progress has been made.
That's very good news! I just rebuilt everything, including the web pages, sans probleme. A good way to close the year.
What problem are you getting with oddbyexample? Works for me...
So, can we now merge the Pure ODD source of P5 into the dev branch? If so, how?
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
Are we looking at the same problem? I am not seeing any problem in the generated XSD: it works fine. There is however a problem in the generated DTD (see below), which is commented in the Makefile. My diagnosis of the DTD problem follows: The content model of <text> in pure ODD is <sequence> <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/> <sequence minOccurs="0"> <elementRef key="front"/> <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/> </sequence> <alternate> <elementRef key="body"/> <elementRef key="group"/> </alternate> <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/> <sequence minOccurs="0"> <elementRef key="back"/> <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/> </sequence> </sequence> This becomes ambiguous iff you delete <front> or <back> from the schema, because you then have two consecutive references to model.global. Our RNG generation seems clever enough to detect this and suppress one of them, but the DTD generation isn't. It's arguable that (since model.global is already available inside <front> or <back>) we could simplify this model to <sequence> <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/> <elementRef key="front" minOccurs="0"/> <alternate> <elementRef key="body"/> <elementRef key="group"/> </alternate> <elementRef key="back" minOccurs="0"/> <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/> </sequence> </sequence> On 30/12/15 17:03, Hugh Cayless wrote:
It’s actually not oddbyexample per se, but an un-implemented bit in the ODD expansion XSLT, leading to invalid XSDs. The oddbyexample tests in the Stylesheets surfaced it. Working on it.
On Dec 30, 2015, at 11:54 , Lou Burnard
wrote: On 30/12/15 14:36, Hugh Cayless wrote:
I think I’ve fixed DTD creation—I can build valid exemplar DTDs anyway. The Stylesheets tests are now foundering on a new reef: ODD by Example. Possibly not surprising that would be broken…
Still, progress has been made.
That's very good news! I just rebuilt everything, including the web pages, sans probleme. A good way to close the year.
What problem are you getting with oddbyexample? Works for me...
So, can we now merge the Pure ODD source of P5 into the dev branch? If so, how?
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
participants (2)
-
Hugh Cayless
-
Lou Burnard