- From: Norman Walsh <ndw@nwalsh.com>
- Date: Tue, 26 Jun 2012 14:22:46 -0500
- To: public-xml-core-wg@w3.org
- Message-ID: <m2ipedaneh.fsf@nwalsh.com>
John Cowan <cowan@mercury.ccil.org> writes: > Norman Walsh scripsit: > >> 2. What attributes should be copied from the XInclude element to the >> root(s) of the included content? >> >> a. all of them >> b. all except href, parse, xml:base, and xml:lang >> c. only namespace qualified attributes >> d. only non-namespace-qualified attributes >> e. the attributes to be copied could be explicitly enumerated in >> a new attribute > > I'm for 2c, which would include the xml:* attributes. Non-namespaced > attributes are reserved for XInclude, so they are part of the machinery > and shouldn't be copied. I sense consensus forming on 2c. > However, this raises two subsidiary questions: > > 2.1) What happens to xml:id when there are multiple roots? 4.5.3 says > nothing about how to fix up ID attributes, only IDREF(S) attributes. I think we copy to all the element roots so you just get duplicate ids. > 2.2) What happens if the xinclude element and the included root(s) both > have a given attribute? I'd say the included root wins, so the copiable > attributes on the xinclude element are just defaults. And consensus I think went the other way in subsequent conversation. I think that's right. Be seeing you, norm -- Norman Walsh Lead Engineer MarkLogic Corporation Phone: +1 413 624 6676 www.marklogic.com
Received on Tuesday, 26 June 2012 19:23:16 UTC