Version 2 (modified by 11 years ago) (diff) | ,
---|
This page is a subpage of CMDI 1.2
Generic attributes to CMDI namespace
The issue
All attributes in CMDI 1.1 instances are in no-namespace, this counts for both attributes defined in the component/profile specification and the CMDI common attributes (@ref and @componentId) which have special semantics. Currently, the Component Registry and schematron rules check for the presence of attributes with these names and rejects them. A better solution would be to allow any name for custom attributes and move the reserved attributes into a dedicated namespace.
Proposed solution
TODO: Description
Implementation examples
CMDI instance:
<CMD CMDVersion="1.1" xsi:schemaLocation="http://www.clarin.eu/cmd/ http://www.clarin.eu/cmd/example/example-md-schema.xsd" xmlns="http://www.clarin.eu/cmd/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cmd="http://www.clarin.eu/cmd/"> ... <MyElement myAttribute="value" cmd:ref="resourceProxy1">...</MyElement>
Tickets
Tickets in the CMDI 1.2 milestone with the keyword attributenamespace:
Discussion
Discuss the topic in general below this point