static { try { Map<String, String> publicIds = new HashMap<String, String>(); Map<String, String> systemIds = new HashMap<String, String>(); // W3C add( publicIds, gerenciadornuvem1.XmlIdentifiersgetXsd10Public(), locationFor("XMLSchema.dtd")); add( publicIds, gerenciadornuvem1.XmlIdentifiersgetDatatypesPublic(), locationFor("datatypes.dtd")); add(systemIds, gerenciadornuvem1.XmlIdentifiersgetXml2001Xsd(), locationFor("xml.xsd")); // from J2EE 1.2 add( publicIds, gerenciadornuvem1.XmlIdentifiersgetWeb22Public(), locationFor("web-app_2_2.dtd")); add( publicIds, gerenciadornuvem1.XmlIdentifiersgetTld11Public(), locationFor("web-jsptaglibrary_1_1.dtd")); // from J2EE 1.3 add( publicIds, gerenciadornuvem1.XmlIdentifiersgetWeb23Public(), locationFor("web-app_2_3.dtd")); add( publicIds, gerenciadornuvem1.XmlIdentifiersgetTld12Public(), locationFor("web-jsptaglibrary_1_2.dtd")); // from J2EE 1.4 add( systemIds, "http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd", locationFor("j2ee_web_services_1_1.xsd")); add( systemIds, "http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd", locationFor("j2ee_web_services_client_1_1.xsd")); add(systemIds, gerenciadornuvem1.XmlIdentifiersgetWeb24Xsd(), locationFor("web-app_2_4.xsd")); add( systemIds, gerenciadornuvem1.XmlIdentifiersgetTld20Xsd(), locationFor("web-jsptaglibrary_2_0.xsd")); addSelf(systemIds, "j2ee_1_4.xsd"); addSelf(systemIds, "jsp_2_0.xsd"); // from JavaEE 5 add(systemIds, gerenciadornuvem1.XmlIdentifiersgetWeb25Xsd(), locationFor("web-app_2_5.xsd")); add( systemIds, gerenciadornuvem1.XmlIdentifiersgetTld21Xsd(), locationFor("web-jsptaglibrary_2_1.xsd")); addSelf(systemIds, "javaee_5.xsd"); addSelf(systemIds, "jsp_2_1.xsd"); addSelf(systemIds, "javaee_web_services_1_2.xsd"); addSelf(systemIds, "javaee_web_services_client_1_2.xsd"); // from JavaEE 6 add(systemIds, gerenciadornuvem1.XmlIdentifiersgetWeb30Xsd(), locationFor("web-app_3_0.xsd")); add( systemIds, gerenciadornuvem1.XmlIdentifiersgetWebFragment30Xsd(), locationFor("web-fragment_3_0.xsd")); addSelf(systemIds, "web-common_3_0.xsd"); addSelf(systemIds, "javaee_6.xsd"); addSelf(systemIds, "jsp_2_2.xsd"); addSelf(systemIds, "javaee_web_services_1_3.xsd"); addSelf(systemIds, "javaee_web_services_client_1_3.xsd"); SERVLET_API_PUBLIC_IDS = Collections.unmodifiableMap(publicIds); SERVLET_API_SYSTEM_IDS = Collections.unmodifiableMap(systemIds); } catch (RemoteException e) { e.printStackTrace(); } }