<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>1658</bug_id>
          
          <creation_ts>2005-07-16 04:30:55 +0000</creation_ts>
          <short_desc>[FS] editorial: 4.7.2 Other Direct Constructors</short_desc>
          <delta_ts>2007-02-25 23:15:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Formal Semantics 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Dyck">jmdyck</reporter>
          <assigned_to name="Jerome Simeon">simeon</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4742</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-07-16 04:30:55 +0000</bug_when>
    <thetext>4.7.2 Other Direct Constructors

(PI and Comment)
&quot;its character content is converted to a string as in attribute content.&quot;
    Then it&apos;s odd that there isn&apos;t an invocation of [[]]_AttributeContent.
    But really, you don&apos;t want it converted as in attribute content,
    because that would (e.g.) map &apos;&amp;amp;&apos; to &apos;&amp;&apos; and &apos;{{&apos; to &apos;{&apos;, neither
    of which are correct for PI or Comment content.

Norm / rule 1
Char* ?&gt;&quot; ]]_Expr
    Delete stray doublequote.

Norm / rule (1|2)
&quot;processing-instruction NCName { Char* }&quot;
&quot;comment { Char* }&quot;
    In general, Char* does not constitute a valid Expr, and even when it
    does, it doesn&apos;t denote what you want it to. Putting Char* within
    quotes would be a good start, but then you have to worry about quotes
    in the Char* that then need to be escaped. Maybe introduce a []-form
    to accomplish the conversion.

DErr
&quot;for direct processing-instruction constructors.&quot;
    Append &quot;or comment constructors.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9277</commentid>
    <comment_count>1</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-04-17 03:24:34 +0000</bug_when>
    <thetext>Fixed as suggested. Added an auxiliary normalization rule to convert Char* into an appropriate string.
- Jerome
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12776</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2006-11-02 06:21:55 +0000</bug_when>
    <thetext>re the auxiliary normalization rule...
[Char*]_Characters == fn:codepoints-to-string(Char*)
    As in Bug 1629 (4.7.1) and Bug 3896 (4.7.1.1), this doesn&apos;t work.
    Instead, just define []_Characters informally, e.g.
        &quot;[]_Characters takes the character content of a PI or comment
        constructor and yields a corresponding StringLiteral.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13595</commentid>
    <comment_count>3</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2007-01-16 17:56:31 +0000</bug_when>
    <thetext>Fixed as suggested.
- Jerome</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>