Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6270116

SJSXP should expose a property so that the application checks for String.intern

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • 5.0
    • 1.0
    • xml

      As far as I know, StAX API does not require the namespace URIs, local names,
      and etc to be interned through String.intern().

      I know that SJSXP uses Xerces, so I'm assuming that it actually interns
      all strings. I'd like to take advantage of that so that I can make the
      JAXB RI unmarshal objects from StAX faster.

      I quickly searched Google and couldn't find any community-driven effort
      to define a de-facto property for it.

      It would be nice to have this as a feature widely supported by many implementattions,
      but it is still better than nothing if the feature is just for SJSXP.

      Would it be possible for SJSXP to define a property and expose it, so that I can query
      it at the runtime and use the efficient mode? This will at least improve the
      JAXB performance when used with SJSXP.
      ###@###.### 2005-05-13 16:30:04 GMT

            joehw Joe Wang
            kkawagucsunw Kohsuke Kawaguchi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: