Dear all, I updated the formal specification and added some chapter prose (for the header chapter — thanks to Sabine and Marcel!) at our SIG’s GitHub repository. So, at [1] you will find the specs (the prose there section is more or less outdated, so please skip) and at [2] a draft for some chapter prose to go into the header section at 2.4.6 My implementation plan is straightforward: * add the prose <div> from [2] to HD-Header.xml * create files under P5/Source/Specs for the new elements and classes (while removing our namespace from elementSpecs and egXML) * modify existing elements (add membership to the new classes) So, please have a look at the files and point me at those things I don’t see … I have one issue though: In the elementSpec for correspAction I try to set some suggested values for @type (see l. 716 in [1]). I tried to follow the model at P5/Source/Specs/list.xml but my values never made it to the RelaxNG schema. Is there some issue with the stylesheets or am I missing something? Best Peter [1] https://github.com/TEI-Correspondence-SIG/correspDesc/blob/master/odd/propos... [2] https://github.com/TEI-Correspondence-SIG/correspDesc/blob/master/odd/HD-Hea...
I couldn't make this work, either. (Using what I think are current stylesheets; how does one do the equivalent of `svn info` in git?) Seems like a bug in the stylesheets. For the moment, you could, of course, remove it from att.typed and define a subtype=, too.
I have one issue though: In the elementSpec for correspAction I try to set some suggested values for @type (see l. 716 in [1]). I tried to follow the model at P5/Source/Specs/list.xml but my values never made it to the RelaxNG schema. Is there some issue with the stylesheets or am I missing something?
What always catches me is @mode. I think I want @mode="change", but I actually need @mode="replace". Could that be it? On 15-01-29 03:32 PM, Syd Bauman wrote:
I couldn't make this work, either. (Using what I think are current stylesheets; how does one do the equivalent of `svn info` in git?)
Seems like a bug in the stylesheets. For the moment, you could, of course, remove it from att.typed and define a subtype=, too.
I have one issue though: In the elementSpec for correspAction I try to set some suggested values for @type (see l. 716 in [1]). I tried to follow the model at P5/Source/Specs/list.xml but my values never made it to the RelaxNG schema. Is there some issue with the stylesheets or am I missing something?
What always catches me is @mode. I think I want @mode="change", but I actually need @mode="replace". Could that be it?
That was my thought, too, but I believe I tried most "change", "replace", and Peter's "add". None worked. I also tried without the <memberOf key="att.typed">, in which case "add" worked. I also tried using <classRef key="att.typed" include="subtype"> and <classRef key="att.typed" except="type">. Neither did what is wanted here.
I think I tried all sorts of (revisions of) stylesheets and @mode values, as well. My suspicion is that it’s related to the namespace and will disappear magically when the namespace is removed (because it’s working with e.g. list.xml). I haven’t tried it yet, though. Best Peter
Am 30.01.2015 um 04:18 schrieb Syd Bauman
: What always catches me is @mode. I think I want @mode="change", but I actually need @mode="replace". Could that be it?
That was my thought, too, but I believe I tried most "change", "replace", and Peter's "add". None worked. I also tried without the <memberOf key="att.typed">, in which case "add" worked. I also tried using <classRef key="att.typed" include="subtype"> and <classRef key="att.typed" except="type">. Neither did what is wanted here. -- 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 (3)
-
Martin Holmes
-
Peter Stadler
-
Syd Bauman