Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_parseXmlSitemaps_withExtraWhitespace (4.75 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("2025-01-01", sitemaps[0].getLastmod());
        }
    
        public void test_parseXmlSitemaps_withExtraWhitespace() {
            // Sitemap with extra whitespace should be trimmed
            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