Last modified: 2012-06-03 18:03:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37264, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35264 - Wrong type used for <ns> in export-0.6.xsd
Wrong type used for <ns> in export-0.6.xsd
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
1.20.x
All All
: Normal minor (vote)
: ---
Assigned To: Diederik van Liere
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-16 15:51 UTC by Mormegil
Modified: 2012-06-03 18:03 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
The ns element should be nonNegativeInteger, not positiveInteger (489 bytes, application/octet-stream)
2012-03-16 15:51 UTC, Mormegil
Details

Description Mormegil 2012-03-16 15:51:57 UTC
Created attachment 10249 [details]
The ns element should be nonNegativeInteger, not positiveInteger

The export format XSD defines the <ns> element as

    <!-- Namespace in canonical form -->
    <element name="ns" type="positiveInteger"/>

But, as a namespace quite often (;-)) is zero, which is _not_ a positive integer (and is not accepted for xs:positiveInteger, see http://www.w3.org/TR/xmlschema-2/#positiveInteger), this is wrong, an XML file using “<ns>0</ns>” does not validate. You want to use nonNegativeInteger instead.
Comment 1 Umherirrender 2012-05-31 17:24:37 UTC
Patch commited with Gerrit change #9520
Comment 2 Umherirrender 2012-06-03 18:03:43 UTC
successfully merged

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links