W3C home > Mailing lists > Public > www-smil@w3.org > January to March 2005

SMIL: Explanation correct?

From: John Taylor-Johnston <eslcafe@USherbrooke.ca>
Date: Tue, 08 Mar 2005 14:57:07 -0500
Message-ID: <422E0393.39AC18DB@USherbrooke.ca>
To: www smil <www-smil@w3.org>

Have I explained this reasonably well?

In project1.smil, this works:

 <smil xmlns:qt="http://www.apple.com/quicktime/resources/smilextensions" qt:time-slider="true" xmlns="http://www.w3.org/TR/REC-smil">
 <text region="region2" src="data:text/plain,Hello, my name is Carl Wells!" begin="id(sound)(00:00)" dur="00:01"/>

But reverse the order, and it produces an error in the RealPlayer:

 <smil xmlns="http://www.w3.org/TR/REC-smil" xmlns:qt="http://www.apple.com/quicktime/resources/smilextensions" qt:time-slider="true">

The reason is that it uses the first xmlns value:


which requires that we use escaped characters, for example «%20» for spaces and «%22» for quotation marks (").

On the other hand, because we insist on special formatting in project2.smil, we must use this:

 <smil xmlns="http://www.w3.org/TR/REC-smil" xmlns:qt="http://www.apple.com/quicktime/resources/smilextensions" qt:time-slider="true">
 <text region="region2" src="data:text/plain,Hello,%20my%20name%20is%20Carl%20Wells!" begin="id(sound)(00:00)" dur="00:01"/>


John Taylor-Johnston
"If it's not Open Source, it's Murphy's Law."

  ' ' '    Collège de Sherbrooke:
 ô¿ô    http://www.collegesherbrooke.qc.ca/languesmodernes/
    -     819-569-2064

  °v°   Bibliography of Comparative Studies in Canadian, Québec and Foreign Literatures
 /(_)\  Université de Sherbrooke
  ^ ^   http://compcanlit.ca/ T: 819.569.2064
Received on Tuesday, 8 March 2005 20:32:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:24 UTC