jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/staxex/util/XMLStreamReaderToXMLStreamWriter.java
equal
deleted
inserted
replaced
208 |
208 |
209 // start namespace bindings |
209 // start namespace bindings |
210 int nsCount = in.getNamespaceCount(); |
210 int nsCount = in.getNamespaceCount(); |
211 for (int i = 0; i < nsCount; i++) { |
211 for (int i = 0; i < nsCount; i++) { |
212 out.writeNamespace( |
212 out.writeNamespace( |
213 in.getNamespacePrefix(i), |
213 fixNull(in.getNamespacePrefix(i)), //StAX reader will return null for default NS |
214 fixNull(in.getNamespaceURI(i))); // zephyr doesn't like null, I don't know what is correct, so just fix null to "" for now |
214 fixNull(in.getNamespaceURI(i))); // zephyr doesn't like null, I don't know what is correct, so just fix null to "" for now |
215 } |
215 } |
216 |
216 |
217 // write attributes |
217 // write attributes |
218 int attCount = in.getAttributeCount(); |
218 int attCount = in.getAttributeCount(); |