TEIC / Stylesheets

TEI XSL Stylesheets
234 stars 125 forks source link

@ns attribute with the value of 'http://www.tei-c.org/ns/1.0' of an attDef is ignored when creating a schema #467

Closed dmj closed 3 years ago

dmj commented 4 years ago

attDef with/without the @ns set to TEI doesn't do anything, which means it's inconsequential to the processing. (But it should be creating an attribute in the TEI namespace.)

See #424

dmj commented 4 years ago

I think there is a problem with the definition of @ns: It is said to have a default value of 'http://www.tei-c.org/ns/1.0'. Thus an attDef without a @ns has an implied @ns with the value of 'http://www.tei-c.org/ns/1.0', which in turn means that the attribute is in the TEI-namespace. But the attributes are in no-namespace.

dmj commented 4 years ago

I cannot reproduce this problem. attDef with @ns creates a attribute tei:new-attribute. See https://gist.github.com/dmj/d63a2688e964fbcf7e33fc78486c07b3.

martindholmes commented 4 years ago

@dmj Is this still a problem, or should this ticket be closed?

dmj commented 4 years ago

I'm not sure. It was reported as an error by @ebeshero in #424.

sydb commented 3 years ago

This does indeed look like the same issue as #424. Thus closing here. Once #424 is fixed, if you still find a problem, @dmj, please re-open (or open a new ticket).