Document instance incorrectly validating
Posted: Thu Oct 27, 2011 6:46 pm
I'm not sure if this is an oXygen issue or not.
I have the following simple mods document
<?xml version="1.0" encoding="UTF-8"?>
<mods xmlns:xlink="http://www.w3.org/1999/xlink" version="3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/mods/v3" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-0.xsd">
<titleInfo>
<title supplied="yes">something</title>
</titleInfo>
</mods>
The document validates but the problem is it shouldn't. Although the most recent version of the MODS schema is mods-3-4, neither it or 3-0 above allow <title> to take an @supplied. @supplied isn't available on any element in an xsd prior to 3-4 and 3-4 only allows it on a <titleInfo> and a few other elements. I'm running 13.1 and haven't made any changes to the default validation settings. Can anyone explain why this is happening and/or at least clarify if it is a non-oXygen issue? Thanks.
I have the following simple mods document
<?xml version="1.0" encoding="UTF-8"?>
<mods xmlns:xlink="http://www.w3.org/1999/xlink" version="3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/mods/v3" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-0.xsd">
<titleInfo>
<title supplied="yes">something</title>
</titleInfo>
</mods>
The document validates but the problem is it shouldn't. Although the most recent version of the MODS schema is mods-3-4, neither it or 3-0 above allow <title> to take an @supplied. @supplied isn't available on any element in an xsd prior to 3-4 and 3-4 only allows it on a <titleInfo> and a few other elements. I'm running 13.1 and haven't made any changes to the default validation settings. Can anyone explain why this is happening and/or at least clarify if it is a non-oXygen issue? Thanks.