Index: gnu/xml/stream/XMLStreamWriterImpl.java
===================================================================
RCS file: /sources/classpath/classpath/gnu/xml/stream/XMLStreamWriterImpl.java,v
retrieving revision 1.6
diff -r1.6 XMLStreamWriterImpl.java
245c245
<         if (prefix != null && !isNCName(prefix))
---
>         if (prefix != null && !isPrefix(prefix))
397c397
<         if (prefix != null && !isNCName(prefix))
---
>         if (prefix != null && !isPrefix(prefix))
492a493,497
>     if (prefix == null || "".equals(prefix) || "xmlns".equals(prefix))
>     {
>       writeDefaultNamespace(namespaceURI);
>       return;
>     }
499c504
<         if (!isNCName(prefix))
---
>         if (!isPrefix(prefix))
793c798
<         if (!isNCName(prefix))
---
>         if (!isPrefix(prefix))
940a946,954
>   private boolean isPrefix(String text)
>     throws IOException
>   {
>     if (XMLConstants.DEFAULT_NS_PREFIX.equals(text)) {
>         return true;
>     }
>     return isNCName(text);
>   }
> 
1003a1018
> 

