re PR xml/29362 (NullPointerException in gnu.xml.transform.TransformerImpl.strip(libgcj.so.7rh))
PR classpath/29362: * gnu/xml/transform/TransformerImpl.java (transform): Only strip if there is a stylesheet. From-SVN: r117612
This commit is contained in:
parent
ab6b9a13d0
commit
4e34ede292
@ -1,3 +1,9 @@
|
||||
2006-10-10 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR classpath/29362:
|
||||
* gnu/xml/transform/TransformerImpl.java (transform): Only strip if
|
||||
there is a stylesheet.
|
||||
|
||||
2006-10-05 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* java/net/SocketPermission.java
|
||||
|
@ -327,7 +327,8 @@ class TransformerImpl
|
||||
domDoc.setCheckWellformedness(false);
|
||||
}
|
||||
parent.normalize();
|
||||
strip(stylesheet, parent);
|
||||
if (stylesheet != null)
|
||||
strip(stylesheet, parent);
|
||||
Document resultDoc = (parent instanceof Document) ?
|
||||
(Document) parent :
|
||||
parent.getOwnerDocument();
|
||||
|
Loading…
Reference in New Issue
Block a user