<?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>1704</bug_id>
          
          <creation_ts>2005-07-18 05:18:46 +0000</creation_ts>
          <short_desc>[FS] technical: 5.2 Module Declaration: importing a namespace that is the target of two modules</short_desc>
          <delta_ts>2006-10-19 18:17:40 +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>normal</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>4790</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-07-18 05:18:46 +0000</bug_when>
    <thetext>5.2 Module Declaration

SCP / rule 1
    If there are two library modules (L1 + L2) that share a target
    namespace (N), this rule allows you to conclude
        N =&gt;module_statEnv statEnv_L1  and/or
        N =&gt;module_statEnv statEnv_L2
    and you could use *either* of those to satisfy
    5.11 / SCP / rule 1 / premise 1 for some other module&apos;s
    &quot;import module N&quot;. But the intended semantics are that the import
    pulls in (roughly) statEnv_L1 + statEnv_L2. (Ditto all this for DCP.)

    You could handle this with some ad-hockery such as:
        L1, ..., Ln = fs:all-library-modules-with-target-namespace(N)
        L1 =&gt;stat statEnv1
        ...
        Ln =&gt;stat statEnvn
        statEnv = fs:combine_statEnvs( statEnv1, ..., statEnvn )
        ----------------------
        N =&gt;module_statEnv statEnv</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5084</commentid>
    <comment_count>1</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2005-07-21 19:07:00 +0000</bug_when>
    <thetext>Yes, that is a good catch. I have the same opinion, and I think your
fix makes sense.

- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5601</commentid>
    <comment_count>2</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2005-08-31 15:15:15 +0000</bug_when>
    <thetext>The XML Query and XSLT WGs have accepted your bug with the proposed resolution. 
- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12290</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2006-10-04 23:11:40 +0000</bug_when>
    <thetext>The 2006-06 CR does not use my proposed resolution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12377</commentid>
    <comment_count>4</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-10-10 14:52:17 +0000</bug_when>
    <thetext>Finally implemented as suggested. Similar fix applies to the DCP rules.
- Jerome</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>