Skip to content

Commit

Permalink
schema/ListedLicense: Punt license text into <text>
Browse files Browse the repository at this point in the history
As it stands, there's not an easy way to extract the license text from
the XML format without removing crossRefs, notes,
standardLicenseHeader, and other siblings.  With this change (which,
if accepted, I still have to propagate into src/) we collect it in
<text>, just like we already collect the header text in
<standardLicenseHeader>.
  • Loading branch information
wking committed Oct 19, 2017
1 parent 9984ebd commit 403d643
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions schema/ListedLicense.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,7 @@
<element name="crossRefs" type="tns:crossRefsType" minOccurs="0" maxOccurs="1"/>
<element name="notes" type="string" minOccurs="0" maxOccurs="1"/>
<element name="standardLicenseHeader" type="tns:formattedTextType" minOccurs="0" maxOccurs="1"/>
<element name="titleText" type="tns:formattedTextType" minOccurs="0" maxOccurs="1"/>
<element name="copyrightText" type="tns:formattedTextType" minOccurs="0" maxOccurs="1"/>
<element name="bullet" type="string"/>
<element name="list" type="tns:listType"/>
<element name="p" type="tns:formattedTextType"/>
<element name="optional" type="tns:optionalType"/>
<element name="alt" type="tns:altType"/>
<element name="br" type="tns:emptyType"/>
<element name="text" type="tns.formattedTextType" minOccurs="1" maxOccurs="1"/>
</choice>
<attribute name="licenseId" type="string"/>
<attribute name="isOsiApproved" type="boolean"/>
Expand Down

0 comments on commit 403d643

Please sign in to comment.