[Bug 25919] unparsed-text-023 should not expect a static error

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25919

--- Comment #7 from Josh Spiegel <josh.spiegel@oracle.com> ---
I have updated the tests I mentioned to include both results and added three
new relevant tests (see below).  Lets close the bug next week if there are no
further comments or objections.

   <test-case name="fn-unparsed-text-053">
      <description>Evaluates the "unparsed-text" function with the argument set
as follows: $href is a relative URI, static base URI undefined. Like
fn-unparsed-text-023 but $href will not be known during static analysis.
      </description>
      <created by="Josh Spiegel" on="2014-05-30"/>
      <environment>
         <static-base-uri uri="#UNDEFINED" />
         <param name="href" as="xs:string"
select="'unparsed-text/text-plain-utf-8.txt'"/>
      </environment>
      <test>fn:unparsed-text($href)</test>
      <result>
         <error code="FOUT1170"/>
      </result>
   </test-case>

   <test-case name="fn-unparsed-text-lines-055">
      <description>Evaluates the "unparsed-text-lines" function with the
argument set as follows: $href is a relative URI, static base URI undefined.
Like fn-unparsed-text-lines-023 but $href will not be known during static
analysis.
      </description>
      <created by="Josh Spiegel" on="2014-05-30"/>
      <environment>
         <static-base-uri uri="#UNDEFINED" />
         <param name="href" as="xs:string"
select="'unparsed-text/text-plain-utf-8.txt'"/>
      </environment>
      <test>fn:unparsed-text-lines($href)</test>
      <result>
         <error code="FOUT1170"/>
      </result>
   </test-case>

   <test-case name="fn-unparsed-text-available-052">
      <description>Evaluates the "unparsed-text-available" function with the
argument set as follows: $href is a relative URI, static base URI undefined.
Like fn-unparsed-text-available-023 but $href will not be known during static
analysis.
      </description>
      <created by="Josh Spiegel" on="2014-05-30"/>
      <environment>
         <static-base-uri uri="#UNDEFINED" />
         <param name="href" as="xs:string"
select="'unparsed-text/text-plain-utf-8.txt'"/>
      </environment>
      <test>fn:unparsed-text-available($href)</test>
      <result>
         <assert-false/>
      </result>
   </test-case>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 30 May 2014 17:21:42 UTC