File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Changing xmlns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Changing xmlns" Watch "Changing xmlns" New topic

Changing xmlns

Grishma Dube
Ranch Hand

Joined: Jul 01, 2003
Posts: 275

I am new to XML and have a basic question.
I have one xml file where the xmlns:com=""
and I want to change is to xmlns:com="".

Can I just go ahead and change the xml namespace in that xml or i will have to change anyother files which will be affecting due to this change.

Paul Clapham

Joined: Oct 14, 2005
Posts: 19869

Impossible to say. There may be programs that are looking for the old namespace, and changing the file to use the new namespace would cause those programs to act differently.
It is sorta covered in the JavaRanch Style Guide.
subject: Changing xmlns
It's not a secret anymore!