Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions assets/xsd/1.2/dc.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE xs:schema [
<!--
These entity declarations are to ensure the consistency of the use of namespaceURIs in the various
@targetNamespace's throughout this schema...and to make it easier to create/maintain schemas for
WXR 1.1 and 1.0 (because then I can just copy this schema document, edit the WXR_Version entity
decl and remove any element decls that weren't in that previous version).
-->

<!ENTITY RSS_Version '2.0'>

<!ENTITY WXR_Version '1.2'>
<!ENTITY WXR_NamespaceURI 'http://wordpress.org/export/&WXR_Version;/'>
<!ENTITY WXR_Excerpt_NamespaceURI '&WXR_NamespaceURI;excerpt/'>

<!ENTITY Dublin_Core_Version '1.1'>
<!ENTITY Dublin_Core_NamespaceURI 'http://purl.org/dc/elements/&Dublin_Core_Version;/'>

<!ENTITY RSS_Content_Module_Version '1.0'>
<!ENTITY RSS_Content_Module_NamespaceURI 'http://purl.org/rss/&RSS_Content_Module_Version;/modules/content/'>
]>
<xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
elementFormDefault='qualified'
targetNamespace='&Dublin_Core_NamespaceURI;'
version='&Dublin_Core_Version;'>
<xs:annotation>
<xs:documentation>
This XML Schema 1.1 schema represents the subset of Dublin Core used by WXR &WXR_Version;.
</xs:documentation>
<xs:documentation source='http://dublincore.org/documents/dces/'/>
</xs:annotation>

<xs:element name='creator' type='xs:string'>
<xs:annotation>
<xs:documentation>
Represents the WP_User that is the author of a WP_Post.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>
Loading