[282684] NPE in org.eclipse.wst.xml.core.internal.document.AttrImpl.setNodeValue if nodeValue is null
diff --git a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/AttrImpl.java b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/AttrImpl.java
index 41587d4..4ae3768 100644
--- a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/AttrImpl.java
+++ b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/AttrImpl.java
@@ -758,7 +758,7 @@
 		if (this.ownerElement != null && !this.ownerElement.isDataEditable()) {
 			throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, new String());
 		}
-		this.fValueSource = source.toCharArray();
+		this.fValueSource = (source != null) ? source.toCharArray() : null;
 
 		notifyValueChanged();
 	}