[Bug 2700] [XSLT] need to clarify type value after stripping type annotations

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2700


mike@saxonica.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED




------- Comment #6 from mike@saxonica.com  2006-03-13 10:41 -------
I have implemented this decision by making the following changes:

* In section 4.3, before the Note, add:

<p diff="add" at="ZA">When type annotations are stripped, the following changes
are made to the source tree:</p>

<ulist diff="add" at="ZA">
<li><p>The type annotation of every element node is changed to
<code>xs:untyped</code></p></li>
<li><p>The type annotation of every attribute node is changed to
<code>xs:untypedAtomic</code></p></li>
<li><p>The typed value of every element and attribute node is set to be the
same as its string value, as
an instance of <code>xs:untypedAtomic</code>.</p></li>
<li><p>The <code>is-nilled</code> property of every element node is set to
<code>false</code>.</p></li>
</ulist>

<p diff="add" at="ZA">The values of the <code>is-id</code> and
<code>is-idrefs</code> properties are
not changed.</p>

* add to the note ", and any elements and attributes validated as IDs will
still be accessible using the
 <xfunction>id</xfunction> function"

* In the first bullet of 19.2.1.1, discussing the meaning of
validation="strip", add the following before the final sentence: <phrase
diff="add" at="ZA">The typed value of the node is changed to be the same as its
string value,
as an instance of <code>xs:untypedAtomic</code>. In the case of elements the
<code>nilled</code> property is set to <code>false</code>. The values of the
<code>is-id</code> and <code>is-idrefs</code> properties are
unchanged.</phrase>

With these changes, the bug is closed. 

Received on Monday, 13 March 2006 10:41:32 UTC