Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/dd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9082/modules/ejb/src/xdoclet/modules/ejb/dd
Modified Files: EjbDotXmlSubTask.java Log Message: Added support for XML Schema validation (XDT-1285) Index: EjbDotXmlSubTask.java =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/dd/EjbDotXmlSubTask.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** EjbDotXmlSubTask.java 15 Aug 2004 23:36:11 -0000 1.15 --- EjbDotXmlSubTask.java 1 Mar 2005 21:56:59 -0000 1.16 *************** *** 75,78 **** --- 75,80 ---- private final static String XSD_LOCATION_21 = "http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"; + private final static String XSD_FILE_NAME_21 = "resources/ejb-jar_2_1.xsd"; + protected String description; *************** *** 222,225 **** --- 224,228 ---- else if (getContext().getConfigParam("EjbSpec").equals("2.1")) { setSchema(XSD_LOCATION_21); + setSchemaURL(getClass().getResource(XSD_FILE_NAME_21)); } else { ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel