Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing xmlns:xsi and xsi:schemaLocation namespaces #5

Open
GoogleCodeExporter opened this issue Feb 6, 2016 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

Please change in:
com.redfin.sitemapgenerator.SitemapGenerator 

in method:
private void writeSiteMap(OutputStreamWriter out) throws IOException 

out.write("<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" 
");

TO:

out.write("<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" " 
+
                    "      xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-
instance\"" +
                    "      
xsi:schemaLocation=\"http://www.sitemaps.org/schemas/sitemap/0.9" +
                    "            
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd\"");

Original issue reported on code.google.com by ban...@gmail.com on 15 Mar 2010 at 4:27

@GoogleCodeExporter
Copy link
Author

Could you please open a pull request with the fix at 
https://github.com/dfabulich/sitemapgen4j ?

Original comment by m.k...@irregular.at on 20 Mar 2015 at 10:05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant