2 Replies Latest reply on Nov 7, 2007 7:47 AM by toby saville

    XSD Definition

    toby saville Novice

      Hello,

      I noticed that the quickstarts have the following root tag definition:

      <jbossesb
       xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
       parameterReloadSecs="5">
      


      However this doesnt allow you to use the tag suggest function of the Eclipse XML editor. Defining the root tag as follows, makes this work, and allows for validation against the XSD:

      <jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb"
       xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb
       http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
       parameterReloadSecs="5">
      


      Of course, the value of the xmlns attribute can be different.

      cheers,
      Toby