- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setNamespaceAware (0.27 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy
def parse(String str, Document document = null) { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance() factory.setNamespaceAware(true) DocumentBuilder builder = factory.newDocumentBuilder() def parsed = builder.parse(new InputSource(new StringReader(str))).documentElement return document ? document.importNode(parsed, true) : parsed
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java
*/ public void testSetXIncludeAware() throws Exception { final SAXParserFactory spf = SAXParserFactoryUtil.newInstance(); SAXParserFactoryUtil.setXIncludeAware(spf, true); spf.setNamespaceAware(true); final SAXParser parser = SAXParserFactoryUtil.newSAXParser(spf); final InputSource is = new InputSource(ResourceUtil.getResourceAsStream("org/codelibs/core/xml/include.xml"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0)