Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Commit

Permalink
Fixing case on pbcoreDescriptionDocument
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Trautmann committed Sep 29, 2011
1 parent 2df8a26 commit c31f54a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/asset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Asset < ActiveRecord::Base

def to_xml
doc = XML::Document.new
root = XML::Node.new("PBCoreDescriptionDocument")
root = XML::Node.new("pbcoreDescriptionDocument")
PbcoreXmlElement::Util.set_pbcore_ns(root)
xsins = XML::Namespace.new(root, "xsi", "http://www.w3.org/2001/XMLSchema-instance")
schemaloc = XML::Attr.new(root, "schemaLocation", "http://www.pbcore.org/PBCore/PBCoreNamespace.html http://pbcore.org/xsd/pbcore-2.0.xsd")
Expand Down
2 changes: 1 addition & 1 deletion public/javascripts/common/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ var FormEditor = (function($, undefined) {
};

var root_elt_names = {
"asset": "PBCoreDescriptionDocument",
"asset": "pbcoreDescriptionDocument",
"instantiation": "pbcoreInstantiation"
};

Expand Down

0 comments on commit c31f54a

Please sign in to comment.