FW: [jdom-interest] & in namespace

Bradley S. Huffman hip at a.cs.okstate.edu
Wed May 3 07:09:22 PDT 2006


"Deshpande, Aniruddha" writes:

> What do you feel? Is this a bug in JDOM? How should we proceed?

You look at the code to see what's going on, and if needed make a patch
like this. Brad

*** XMLOutputter.java	Fri Dec 10 19:31:50 2004
--- XMLOutputter.new	Wed May  3 09:03:19 2006
***************
*** 1118,1124 ****
              out.write(prefix);
          }
          out.write("=\"");
!         out.write(uri);
          out.write("\"");
          namespaces.push(ns);
      }
--- 1118,1124 ----
              out.write(prefix);
          }
          out.write("=\"");
!         out.write(escapeAttributeEntities(uri));
          out.write("\"");
          namespaces.push(ns);
      }


More information about the jdom-interest mailing list