Need XML help

45 views
Skip to first unread message

Kelly Applegate

unread,
Oct 19, 2017, 11:49:01 AM10/19/17
to PBCore Talk

I need to have descriptive info from the mods schema and technical info from the PBCore schema in ONE XML document. But no matter what order I put things in, I keep getting a well formedness error in my XML editor. I have this prologue at the top of the XML doc:

<?xml version='1.0' encoding='UTF-8'?>
<mods:modsCollection xmlns:mods="http://www.loc.gov/mods/v3"
    xmlns:xlink="http://www.w3.org/1999/xlink" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.loc.gov/mods/v3 
http://www.loc.gov/standards/mods/v3/mods-3-6.xsd">

and this a little later in my XML doc:

<pbcoreCollection xmlns="http://www.pbcore.org/PBCore/PBCoreNamespace.html"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.pbcore.org/PBCore/PBCoreNamespace.html 
http://pbcore.org/xsd/pbcore-2.0.xsd">

What am I missing?

Dave Rice

unread,
Oct 19, 2017, 11:55:11 AM10/19/17
to pbcor...@googlegroups.com
Hi Kelly,
Could you share the fuller XML, the pbcoreCollection node you shared seems okay. For instance using the same node in this sample is valid to PBCore 2.1.

  <pbcoreDescriptionDocument>
    <pbcoreIdentifier source=""/>
    <pbcoreTitle/>
    <pbcoreDescription/>
  </pbcoreDescriptionDocument>
</pbcoreCollection>

Best Regards,
Dave Rice

Reply all
Reply to author
Forward
0 new messages