-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<empty/>
element not processed
#263
Comments
@lb42 I'm looking at the example on the spec page: http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-empty.html and wondering what on earth it can mean. Why would anyone do that? |
Also, is any processing actually required for this element? As far as we can tell, the right behaviour occurs already, just by doing nothing. |
(“We” is me & Martin — tested |
@martindholmes It represents a content model which might be more economically expressed as (hi*). But as you can see in the discussion on TEIC/TEI#1596 economy of expression is not the primary goal here. Can you confirm that for each pair of content models below, both expressions are processed identically?
|
We think so (although our quick tests were slightly different), although might look at this ticket in a future Stylesheets group meeting and create a complete test suite for all the cases we can think of. |
Council Stylesheets group did a few tests, and as far as we can tell all cases of <content>
<alternate>
<empty/>
<elementRef key="hi"/>
</alternate>
</content> results in just |
Issue TEIC/TEI#1596 has been resolved by creation of a new
<empty/>
element, but this is not currently being processed by any ODD processor.The text was updated successfully, but these errors were encountered: