Namespaces in XML language Follow
Hi. I'm trying to use mps to generate nant buildfiles. I have to specify namespaces like xmlns="http://nant.sf.net/release/0.85/nant.xsd". When I try to do this via attribute I get the error:
org.jdom.IllegalNameException: The name "xmlns" is not legal for JDOM/XML attributes: An Attribute name may not be "xmlns"; use the Namespace class to manage namespaces.
What is the easiest way to add namespaces support to xml language?
Please sign in to leave a comment.
Hi,
Our XML language doesn't support XML namespaces yet. The only way to use them is to specify full name.
Thank you for reply.
Can you suggest me what is better: try to extend your XML language or create my own?
Hello,
It won't take a lot of time to create your own XML language. And it will be a good exercise for you because you have a little MPS experience. I recommend you doing this.