<?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>9310</bug_id>
          
          <creation_ts>2010-03-24 17:32:58 +0000</creation_ts>
          <short_desc>unknownNameCode NamePool exceptions found in logs</short_desc>
          <delta_ts>2010-03-26 02:16:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Java Library</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</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="fd">fd</reporter>
          <assigned_to name="fd">fd</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>33873</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-03-24 17:32:58 +0000</bug_when>
    <thetext>An net.sf.saxon.om.NamePool.unknownNameCode exception gets thrown from time to time when the library is deployed within a Web service.

I suspect that this happens because the TransformerFactory that is used to create the source and stylesheet documents is not always the same.

The bug is not easily reproductible as the same NamePool seems to be used most of the time, but it does occur a few times per day.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33927</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-03-26 02:16:27 +0000</bug_when>
    <thetext>The Saxon Configuration instance was defined as static in AbstractXsltTestImplementation causing the instance to be shared amongst threads.

The configuration object was given to the function that loads a compiled stylesheet. This function starts by changing the NamePool to the one that was used to compile the stylesheet.

When multiple threads use the same library at the same time, the UnknownNamePool exception could be raised as a consequence.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>