Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_parseXmlSitemaps_withBOM (3.3 sec)

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

            assertEquals("daily", ((SitemapUrl) sitemaps[0]).getChangefreq());
            assertEquals("0.8", ((SitemapUrl) sitemaps[0]).getPriority());
        }
    
        public void test_parseXmlSitemaps_withBOM() {
            // Sitemap with UTF-8 BOM should be parsed correctly
            final byte[] bom = new byte[] { (byte) 0xEF, (byte) 0xBB, (byte) 0xBF };
            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