Skip to content

Commit

Permalink
Fixed issue (#2025) set xml encodng to UTF-8 in schemaorg.owl file
Browse files Browse the repository at this point in the history
  • Loading branch information
Dataliberate committed Dec 16, 2019
1 parent cccceaf commit 8388516
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/releases.html
Expand Up @@ -170,6 +170,7 @@ <h3>Changes in <a href="http://bib.schema.org/">bib</a> section:</h3>

<h3>Site Improvements</h3>
<ul>
<li id="g2025"><a href="https://github.com/schemaorg/schemaorg/issues/2025">Issue 2025</a>: Corrected xml encoding value in <a href="/docs/schemaorg.owl">schemaorg.owl</a> file to be "UTF-8"</li>


</ul>
Expand Down
2 changes: 1 addition & 1 deletion scripts/buildowlfile.py
Expand Up @@ -165,7 +165,7 @@ def cleanup(self):
def prettify(self,elem):
# log.info("doc: %s" % ET.tostring(elem))
doc = minidom.parseString(ET.tostring(elem))
return doc.toprettyxml(encoding='utf8')
return doc.toprettyxml(encoding='UTF-8')


def closeFile(self):
Expand Down

0 comments on commit 8388516

Please sign in to comment.