View | Details | Raw Unified | Return to bug 40663
Collapse All | Expand All | Context: (Patch / File /
)

(-)gnu/xml/stream/FilteredStreamReader.java (-4 / +2 lines)
Line 43    Link Here 
43
import javax.xml.stream.util.ReaderDelegate;
43
import javax.xml.stream.util.StreamReaderDelegate;
44
--
Line 46    Link Here 
46
  extends ReaderDelegate
46
  extends StreamReaderDelegate
47
--
(-)gnu/xml/stream/NamespaceImpl.java (-4 / +27 lines)
Line 42    Link Here 
42
import javax.xml.namespace.QName;
Line 58    Link Here 
59
  protected final boolean specified;
60
  protected final QName name;
Line 59    Link Here 
59
  protected NamespaceImpl(Location location, String prefix, String uri)
62
  protected NamespaceImpl(Location location, String prefix, String uri, boolean specified)
60
--
Line 64    Link Here 
67
    this.specified = specified;
68
    this.name = new QName("", prefix, "xmlns");
Line 81    Link Here 
86
  public boolean isSpecified()
87
  {
88
    return specified;
89
  }
90
Line 85    Link Here 
85
  
95
86
--
96
  public String getDTDType()
97
  {
98
      return "CDATA";
99
  }
100
101
  public String getValue()
102
  {
103
      return uri;
104
  }
105
106
  public QName getName()
107
  {
108
      return name;
109
  }
110
(-)gnu/xml/stream/XIncludeFilter.java (-4 / +2 lines)
Line 57    Link Here 
57
import javax.xml.stream.util.ReaderDelegate;
57
import javax.xml.stream.util.StreamReaderDelegate;
58
--
Line 84    Link Here 
84
  extends ReaderDelegate
84
  extends StreamReaderDelegate
85
--
(-)gnu/xml/stream/XMLEventAllocatorImpl.java (-4 / +4 lines)
Line 113    Link Here 
113
                                           reader.getNamespaceURI(i)));
113
                                           reader.getNamespaceURI(i),
114
--
114
                                           false));
Line 161    Link Here 
161
                                           reader.getNamespaceURI(i)));
162
                                           reader.getNamespaceURI(i),
162
--
163
                                           false));
(-)gnu/xml/stream/XMLEventFactoryImpl.java (-4 / +2 lines)
Line 101    Link Here 
101
                             XMLConstants.DEFAULT_NS_PREFIX, namespaceURI);
101
                             XMLConstants.DEFAULT_NS_PREFIX, namespaceURI, true);
102
--
Line 106    Link Here 
106
     return new NamespaceImpl(location, prefix, namespaceUri);
106
     return new NamespaceImpl(location, prefix, namespaceUri, true);
107
--
(-)javax/xml/stream/XMLEventFactory.java (-2 / +6 lines)
Line 97    Link Here 
97
   * @param factoryId Name of the factory to find; not the class name but the
98
   *    property name to use
99
   * @param classLoader classLoader to use
100
   * @return the factory implementation
101
   * @throws FactoryConfigurationError if an instance of this factory cannot be loaded
Line 98    Link Here 
98
  static XMLEventFactory newInstance(String factoryId, ClassLoader classLoader)
103
  public static XMLEventFactory newInstance(String factoryId, ClassLoader classLoader)
99
--
(-)javax/xml/stream/XMLInputFactory.java (+5 lines)
Line 209    Link Here 
209
   * @param factoryId Name of the factory to find; not the class name but the
210
   *    property name to use
211
   * @param classLoader classLoader to use
212
   * @return the factory implementation
213
   * @throws FactoryConfigurationError if an instance of this factory cannot be loaded
(-)javax/xml/stream/XMLOutputFactory.java (-16 / +23 lines)
Line 89    Link Here 
89
   * @see #newInstance(String,ClassLoader)
90
   */
91
  public static XMLOutputFactory newInstance()
92
    throws FactoryConfigurationError
93
  {
94
      return newInstance(null, null);
95
  }
96
97
  /**
98
   * Creates a new <b>output</b> factory.
Line 101    Link Here 
111
   * @param factoryId Name of the factory to find; not the class name but the
112
   *    property name to use
113
   * @param classLoader classLoader to use
114
   * @return the factory implementation
115
   * @throws FactoryConfigurationError if an instance of this factory cannot be loaded
Line 102    Link Here 
102
  public static XMLOutputFactory newInstance()
117
  public static XMLOutputFactory newInstance(String factoryId,
103
--
118
                                            ClassLoader classLoader)
Line 104    Link Here 
120
Line 105    Link Here 
105
    ClassLoader loader = Thread.currentThread().getContextClassLoader();
122
    ClassLoader loader = classLoader;
106
--
123
    if (loader == null)
124
      {
125
        loader = Thread.currentThread().getContextClassLoader();
126
      }
 Lines 187-198    Link Here 
187
   * Creates a new <b>input</b> factory.
188
   * This appears to be an API design bug.
189
   * @see javax.xml.stream.XMLInputFactory.newInstance(String,ClassLoader)
190
   */
191
  public static XMLInputFactory newInstance(String factoryId,
192
                                            ClassLoader classLoader)
193
    throws FactoryConfigurationError
194
  {
195
    return XMLInputFactory.newInstance(factoryId, classLoader);
196
  }
197
198
  /**
(-)javax/xml/stream/events/Namespace.java (-2 / +1 lines)
Line 44    Link Here 
44
  extends XMLEvent
44
  extends Attribute
45
--

Return to bug 40663