1 Reply Latest reply on Jul 12, 2007 9:25 AM by Ray DeCampo

    Eliminate external dependencies from XML files

    Ray DeCampo Newbie

      Does anybody have any pointers on how to eliminate external dependencies on schema within XML configuration files? For example, my web.xml starts out like:

      <web-app version="2.5"
       xmlns="http://java.sun.com/xml/ns/javaee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
       http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" >
      

      How can I eliminate the dependency on the resource http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd? Ideally I'd like to be able to package the files somewhere (vs hosting them myself).