Stylesheets icon indicating copy to clipboard operation
Stylesheets copied to clipboard

Incorrect handling of Schematron in HTML output

Open hcayless opened this issue 7 years ago • 4 comments

When there's Schematron in attribute definitions inside element specs, the displayed RNG content model is broken. See http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-moduleRef.html at the bottom. A clearer idea of what's happening may be had if you switch to the XML view. The content model should either

  1. ignore the Schematron (since it's pulled out and displayed elsewhere) or
  2. Display it correctly

I'd vote for 1.

hcayless avatar Jan 20 '18 15:01 hcayless

another vote for 1

peterstadler avatar Mar 28 '18 14:03 peterstadler

Another vote for 1. We have other work to do on Schematron display. Is there, for instance, any way to provide Schematron messages in other languages?

martindholmes avatar Mar 28 '18 15:03 martindholmes

Another vote for 1. And while I do not think this ticket is the place to approach that elephant, @martindholmes’ point is well taken. Someday we should internationalize Schematron messages. However, a related issue that perhaps should be on this ticket is that although @hcayless is correct, the Schematron for an attribute is displayed elsewhere, it is pretty ugly on anything but very wide screens.

sydb avatar Mar 03 '19 17:03 sydb

Definitely 1. (I am also ready to vote to suppress the RNG display entirely -- or complement it with the DTD and Schema versions)

lb42 avatar Mar 03 '19 18:03 lb42