Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_parseXmlSitemaps_withUnknownElements (0.95 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("http://www.example.com/page1.html", sitemaps[0].getLoc());
            assertEquals("http://www.example.com/page2.html", sitemaps[1].getLoc());
        }
    
        public void test_parseXmlSitemaps_withUnknownElements() {
            // Sitemap with unknown/custom elements should ignore them and parse known elements
            final String xml =
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top