mlw-lt-track-ISSUE-39 (inheritance-of-external-resource): Inheritance of external resource

mlw-lt-track-ISSUE-39 (inheritance-of-external-resource): Inheritance of external resource

http://www.w3.org/International/multilingualweb/lt/track/issues/39

Raised by: Felix Sasaki
On product: 

I propose to change the inheritance of "external resource". With no inheritance, for this input file
http://www.w3.org/International/multilingualweb/lt/drafts/its20/examples/xml/EX-externalresource-1.xml

there is the following artificial output (for "videodata"):

     <node path="/doc/mediaobject[1]/videoobject[1]/videodata[1]"
            outputType="new-value-global">
         <output xmlns:db="docbook.org/ns/docbook">
            <externalResourceRefPointer fileref="movie.avi"/>
         </output>
      </node>
      <node path="/doc/mediaobject[1]/videoobject[1]/videodata[1]/@fileref"
            outputType="no-value">
         <output/>
      </node>

With the inheritance set to "elements and attributes", the output looks like this:

      <node path="/doc/mediaobject[1]/videoobject[1]/videodata[1]"
            outputType="new-value-global">
         <output xmlns:db="docbook.org/ns/docbook">
            <externalResourceRefPointer fileref="movie.avi"/>
         </output>
      </node>
      <node path="/doc/mediaobject[1]/videoobject[1]/videodata[1]/@fileref"
            outputType="inherited">
         <output xmlns:db="docbook.org/ns/docbook">
            <externalResourceRefPointer fileref="movie.avi"/>
         </output>
      </node>

That is, the pointer to external information inherits to elements and attribues inside "videodata". I think we don't want that.

So I propose to change at
http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#externalresource-implementation
"The information applies to the textual content of the element, including child elements and attributes.  "
to
"There is no inheritance"

Received on Saturday, 4 August 2012 10:15:45 UTC