fix for firefox nagging about namespace in the autogenerated_base_reference.xml file created by the docwritebaseref command

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5480 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Alejandro V. Garcia
2010-07-30 11:31:15 +00:00
parent 99904cf6cd
commit eeaf9ee023
+1 -1
View File
@@ -296,7 +296,7 @@ void docwriteref(int allidents, const char *ref, const char *schemalocation, con
{
f->printf("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
f->printf("<?xml-stylesheet type=\"text/xsl\" href=\"%s\"?>\n", transformation && strlen(transformation) ? transformation : "transformations/cuberef2xhtml.xslt");
f->printf("<cuberef name=\"%s\" version=\"v0.1\" xsi:schemaLocation=\"%s\" xmlns=\"http://cubers.net/Schemas/CubeRef\">\n", ref && strlen(ref) ? ref : "Unnamed Reference", schemalocation && strlen(schemalocation) ? schemalocation : "http://cubers.net/Schemas/CubeRef schemas/cuberef.xsd");
f->printf("<cuberef xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" name=\"%s\" version=\"v0.1\" xsi:schemaLocation=\"%s\" xmlns=\"http://cubers.net/Schemas/CubeRef\">\n", ref && strlen(ref) ? ref : "Unnamed Reference", schemalocation && strlen(schemalocation) ? schemalocation : "http://cubers.net/Schemas/CubeRef schemas/cuberef.xsd");
f->printf("\t%s\n", desc);
f->printf("\t<sections>\n");
f->printf("\t\t<section name=\"Main\">\n");