VRA Schema
Posted: Tue Mar 21, 2023 9:57 pm
So I am working on validating VRA schema in XML. My document is well formed but I keep getting the following error "E [Xerces] cannot find the declaration of element 'vra'". I have been getting the same error for the last three days. Can anyone help?
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<vra xmlns="https://www.vraweb.org/vracore4.htm"
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.vraweb.org/vracore4.htm https://www.loc.gov/standards/vracore/vra-strict.xsd">
<work id="w04002402" refid="500308853" source="Seattle Asian Art Museum"></work>
<agentSet>
<display>Tani Buncho (Japanese Painter, 1763-1840</display>
<agent>
<name type="personal" vocab="ULAN" refid="500121188">Tani, Bunco</name>
<dates type="life">
<earliestDate>1763</earliestDate>
<latestDate>1840</latestDate>
</dates>
<culture>Japanese</culture>
<role vocab="AAT" refid="300025136"> painter </role>
</agent>
</agentSet>
<dateSet>
<display>1828</display>
<date type="creation">
<earliestDate>1828</earliestDate>
<latestDate>1828</latestDate>
</date>
</dateSet>
<descriptionSet>
<display>This hanging scroll depicts eight men drinking wine and enjoying various amusements,
as described in the poem "Eight Immortals of the Wine Cup" by Chinese poet Du Fu (712-770).
One of the men in the painted is another famed Chinese poet Li Bai</display>
<description>This hanging scroll depicts eight men drinking wine and enjoying various amusements,
as described in the poem "Eight Immortals of the Wine Cup" by Chinese poet Du Fu (712-770).
One of the men in the painted is another famed Chinese poet Li Bai</description>
</descriptionSet>
<locationSet>
<display>Asian Art Museum (Seattle)w_04002402</display>
<location type="repository">
<name type = "corporate">Asian Art Museum</name>
<name type = "geographic" vocab = "TNG" refid = "7007920">Washington</name>
<name type = "geographic" vocab = "TNG" refid = "7014494">Seattle</name>
<name type = "geographic" vocab = "TNG" refid = "7012149">United States</name>
</location>
</locationSet>
<materialSet>
<display>hanging scroll on silk</display>
<material type="medium" vocab="AAT" refid="300015012">ink</material>
<material type="medium" vocab="AAT" refid="300264870">color</material>
<material type="medium" vocab="AAT" refid="300243428">silk (textile)</material>
</materialSet>
<measurementsSet>
<display>52 3/8 x 27 13/16 in (133 x 70.7 cm)</display>
<measurements type="height" unit="in" extent="overall">52 3/8</measurements>
<measurements type="width" unit="in" extent="overall">27 13/16</measurements>
<measurements type="height" unit="cm" extent="overall">133</measurements>
<measurements type="width" unit="cm" extent="overall">70.7</measurements>
</measurementsSet>
<relationSet>
<relation type="imageIs" refid="i_04002402-6" vocab="AAT" source="Seattle Asian Art Museum"></relation>
<relation type="imageIs" refid="i_04002402-6" href="http://art.seattleartmuseum.org/objects/65444/">Full view</relation>
</relationSet>
<rightsSet>
<display>Copyright (c)2018 Asian Art Museum, Seattle</display>
<rights>
<text>The Image Rights and Reproductions Department at the Seattle Art Museum provides images for educational presentation, professional research, print and electronic publications, and media projects. All requests for images MUST be made in writing. Permission for such use is granted at the sole discretion of the Seattle Art Museum. Please contact us for information concerning permissions, or to request digital photography of works in the SAM collection.</text>
</rights>
</rightsSet>
<sourceSet>
<display>Seattle Asian Art Museum</display>
<source>
<name type="electronic">Seattle Asian Art Museum</name>
<refid type="URI" dataDate="2018">http://art.seattleartmuseum.org/objects/65444/</refid>
</source>
</sourceSet>
<stylePeriodSet>
<display>The Eight Immortals of the Wine Cup</display>
<stylePeriod vocab="AAT" refid="300106643">Edo (Japanese Period</stylePeriod>
</stylePeriodSet>
<subjectSet>
<display>Inchu hassen. The Eight Immortals of the Wine Cup.</display>
<subject>
<term type="personalName" vocab="LCSH" refid="00001908">Li, Bai, 701-762</term>
<term type="personalName" vocab="LCSH" refid="n50013327">Du, Fu, 712-770</term>
<term type="descriptiveTopic" vocab="AAT" refid="300033666">Scroll paintings (visual works)</term>
<term type="descriptiveTopic" vocab="LCSH" refid="sh85096760">Painting, Japanese</term>
<term type="descriptiveTopic" vocab="LCSH" refid="sh85024357">Chinese poetry--Tang dynasty, 618-907</term>
</subject>
</subjectSet>
<titleSet>
<display>Inchu hassen</display>
<title type="translated">The Eight Immortals of the Wine Cup</title>
</titleSet>
</vra>