Skip to content

Commit

Permalink
Fix namespace when saving JPZ files.
Browse files Browse the repository at this point in the history
See https://crossword.info/xml/crossword-compiler-applet.xsd which
contains the correct values.
  • Loading branch information
jpd236 committed Jan 14, 2022
1 parent 0b5bb23 commit 38741f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion puz/formats/jpz/save_jpz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void SaveJpz(Puzzle * puz, const std::string & filename, void * /* dummy */)

xml::node applet = doc.append_child("crossword-compiler-applet");
applet.append_attribute("xmlns") =
"http://crossword.info/xml/crossword-compiler";
"http://crossword.info/xml/crossword-compiler-applet";

// Read settings from the saved XML Doc, otherwise provide default
// settings.
Expand Down

0 comments on commit 38741f6

Please sign in to comment.