You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2012/01/10 18:48:44 UTC

svn commit: r1229657 - /incubator/jena/Jena2/jena/trunk/src/main/java/com/hp/hpl/jena/shared/PrefixMapping.java

Author: andy
Date: Tue Jan 10 17:48:44 2012
New Revision: 1229657

URL: http://svn.apache.org/viewvc?rev=1229657&view=rev
Log:
JENA-188

Modified:
    incubator/jena/Jena2/jena/trunk/src/main/java/com/hp/hpl/jena/shared/PrefixMapping.java

Modified: incubator/jena/Jena2/jena/trunk/src/main/java/com/hp/hpl/jena/shared/PrefixMapping.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/main/java/com/hp/hpl/jena/shared/PrefixMapping.java?rev=1229657&r1=1229656&r2=1229657&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/main/java/com/hp/hpl/jena/shared/PrefixMapping.java (original)
+++ incubator/jena/Jena2/jena/trunk/src/main/java/com/hp/hpl/jena/shared/PrefixMapping.java Tue Jan 10 17:48:44 2012
@@ -49,6 +49,11 @@ public interface PrefixMapping
         Need not check the RFC2396 validity of the URI. Bad URIs are either silently
         ignored or behave as if they were good. The earlier restriction that the URI
         should end with a non-NCName character has been removed.
+   <p>        
+         
+        Note, in particular, that the a prefix mapping can only be used 
+        if it includes the URI up to any '#' character because '#' is not legal
+        in the local part of an NCName.
 
         @param prefix the string to be used for the prefix.
         @param uri the URI prefix to be named