code: void recomposeDecimalFormats(DecimalFormatProperties dfp)
    {
      DecimalFormatSymbols oldDfs =
                    (DecimalFormatSymbols) m_decimalFormatSymbols.get(dfp.getName());
      if (null == oldDfs)
      {
        m_decimalFormatSymbols.put(dfp.getName(), dfp.getDecimalFormatSymbols());
      }
      else if (!dfp.getDecimalFormatSymbols().equals(oldDfs))
      {
        String themsg;
        if (dfp.getName().equals(new QName("")))
        {
          // "Only one default xsl:decimal-format declaration is allowed."
          themsg = XSLMessages.createWarning(
                            XSLTErrorResources.WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED,
                            new Object[0]);
        }
        else
        {
          // "xsl:decimal-format names must be unique. Name {0} has been duplicated."
          themsg = XSLMessages.createWarning(
                            XSLTErrorResources.WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE,
                            new Object[] {dfp.getName()});
        }
  
        error(themsg);   // Should we throw TransformerException instead?
      }
  
    }
docs: Recompose the decimal-format declarations.
  
  @param dfp A DecimalFormatProperties to add to the hashtable of decimal formats.