CVS Update: xmlpull-api-v1/src/java/api/org/xmlpull/v1

Aleksander Andrzej Slominski <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
aslom       02/07/18 13:54:36

  Modified:    src/java/api/org/xmlpull/v1 XmlSerializer.java
  Log:
  clarification to getPrefix in XmlSerializer
  
  Revision  Changes    Path
  1.3       +6 -2      xmlpull-api-v1/src/java/api/org/xmlpull/v1/XmlSerializer.java
  
  Index: XmlSerializer.java
  ===================================================================
  RCS file: /l/extreme/cvspub/xmlpull-api-v1/src/java/api/org/xmlpull/v1/XmlSerializer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -t -w -r1.2 -r1.3
  --- XmlSerializer.java	2002/07/15 18:00:50	1.2
  +++ XmlSerializer.java	2002/07/18 18:54:36	1.3
  @@ -106,8 +106,12 @@
   
       /**
        * Return namespace that corresponds to given prefix
  -     * If there is no prefix bound to this namespace return null if
  -     * generatePrefix is false otherwise return generated prefix.
  +     * If there is no prefix bound to this namespace return null
  +     * but if generatePrefix is false then return generated prefix.
  +     *
  +     * <p><b>NOTE:</b> if the prefix is empty string "" and defualt namespace is bound
  +     * to this prefix then empty string ("") is returned.
  +     *
        * <p><b>NOTE:</b> prefixes "xml" and "xmlns" are already bound
        *   will have values as defined
        * <a href="http://www.w3.org/TR/REC-xml-names/">Namespaces in XML specification</a>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.