Skip to content

Commit 2207dff

Browse files
committed
Add missing dublin core schemas and update catalog script documentation
1 parent 8be6d30 commit 2207dff

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

neuxml/catalog.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
resolving schemas locally instead of downloading them every time validation
2222
is required.
2323
24-
Catalog generation is available via the setup.py custom command xmlcatalog,
25-
and a generated catalog and corresponding schema files should be included
26-
in packaged releases of neuxml.
24+
Catalog generation is available via the script `neuxml-refresh-catalog`;
25+
a catalog and corresponding schema files for supported formats is
26+
included in packaged releases of neuxml.
2727
2828
For more information about setting up and testing XML catalogs, see the
2929
`libxml2 documentation <http://xmlsoft.org/catalog.html>`_.
@@ -66,6 +66,8 @@
6666
"http://www.w3.org/2001/xml.xsd",
6767
"http://www.w3.org/2001/03/xml.xsd",
6868
"http://www.dublincore.org/schemas/xmls/simpledc20021212.xsd",
69+
"http://www.openarchives.org/OAI/2.0/oai_dc.xsd",
70+
"http://dublincore.org/schemas/xmls/simpledc20021212.xsd",
6971
]
7072
# Deprecated URLs. Current schema lives on Github at https://github.com/StateArchivesOfNorthCarolina/tomes-eaxs.
7173
# 'http://www.archives.ncdcr.gov/mail-account.xsd',
@@ -155,7 +157,7 @@ def refresh_catalog(xsd_schemas=None, xmlcatalog_dir=None, xmlcatalog_file=None)
155157
156158
.. Note::
157159
158-
Currently this method overwites any existing schema and catalog
160+
Currently this method overwrites any existing schema and catalog
159161
files, without checking if they are present or need to be
160162
updated.
161163

0 commit comments

Comments
 (0)