1 Reply Latest reply on Apr 19, 2011 2:42 PM by Aslak Knutsen

    XML namespace locations for arquillian.xml

    Dan Allen Master

      The XML structure for arquillian.xml changed in 1.0.0.Alpha5. It's currently:


      <?xml version="1.0" encoding="UTF-8"?>
      <arquillian xmlns="http://www.jboss.org/arquillian-1.0"


      Aslak has suggested that this isn't quite right. We'd like to get this right for the next release, so let's discuss.


      For the namespace to be useful as to the location of XSD it should be fixed, such as:



      But the "schema" path seems less than elegant. I also don't like the use of "www" as it's just noise. Here are some alternatives:


      1. http://arquillian.org (yes, we own this domain now, thanks to bob)
      2. http://arquillian.jboss.org
      3. http://jboss.org/arquillian


      We could also build on any of these (using arquillian.org as an example) to make a dedicated schema URL:


      1. http://arquillian.org/xml/ns/arquillian (consistent with Java EE schemas)
      2. http://arquillian.org/xsd/arquillian (consistent with Maven)


      I'm partial to #2 in the second list for these two reasons:


      It removes the association from jboss.org, which fits best when arquillian is used in a product (no need to change jboss.org to jboss.com, for example).

      It opens the door for different root XML elements (perhaps we decide to split them out in the future or we need another configuration format. We aren't in the way then).


      The result would be:


      <?xml version="1.0" encoding="UTF-8"?>
      <arquillian xmlns="http://arquillian.org/xsd/arquillian"