From 9a27593caba76ab75a2aa01fe0fc1aec2300c291 Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Mon, 16 Mar 2009 21:06:29 +0000 Subject: [PATCH] Modified sample XML instance document for CollectionObject to match changes in schema. Updated comments, including reflecting new filenames. Converted all horizontal tabs to 2 spaces. --- sandbox/aron/schema/collectionObject.rng | 464 +++++++++---------- sandbox/aron/schema/collectionObject.xml | 93 ++-- sandbox/aron/schema/collectionObject.xsd | 22 +- sandbox/aron/schema/collectionObjects.rng | 120 ++--- sandbox/aron/schema/collectionObjects.xml | 42 +- sandbox/aron/schema/hello.xsd | 52 +-- sandbox/aron/schema/serviceErrorResponse.rng | 66 +-- sandbox/aron/schema/serviceErrorResponse.xml | 10 +- 8 files changed, 428 insertions(+), 441 deletions(-) diff --git a/sandbox/aron/schema/collectionObject.rng b/sandbox/aron/schema/collectionObject.rng index e1d3c32ed..c20542fa3 100644 --- a/sandbox/aron/schema/collectionObject.rng +++ b/sandbox/aron/schema/collectionObject.rng @@ -2,31 +2,31 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + name="collectionObject" + ns="http://collectionspace.org/hello" + xmlns="http://relaxng.org/ns/structure/1.0" + datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - + - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + diff --git a/sandbox/aron/schema/collectionObject.xml b/sandbox/aron/schema/collectionObject.xml index 4fdd9d488..d266608e5 100644 --- a/sandbox/aron/schema/collectionObject.xml +++ b/sandbox/aron/schema/collectionObject.xml @@ -2,13 +2,13 @@ + xmlns="http://collectionspace.org/hello"> + - - - - org.collectionspace.797220effa5fa160 - - - - - + + + + org.collectionspace.797220effa5fa160 + + - - - 1984.021.0049 - - Radio News, vol. 10, no. 2, August 1928 - - - Radio News, August 1928. The cover of this issue features an + + + + + 1984.021.0049 + + Radio News, vol. 10, no. 2, August 1928 + + + Radio News, August 1928. The cover of this issue features an illustration of a man and woman watching an early "radio movie." Text on the cover reads, "Radio's Greatest Magazine / Radio News / August 25 Cents / Over 200 illustrations / Edited by Hugo Gernsback / Radio Movies @@ -62,25 +62,12 @@ by an article about the radio movie receiver system invented by C. Francis Jenkins. The article includes drawings illustrating the layout of the sytem. - - + + + + + - + diff --git a/sandbox/aron/schema/collectionObject.xsd b/sandbox/aron/schema/collectionObject.xsd index cc8d30e17..4fb5a415c 100644 --- a/sandbox/aron/schema/collectionObject.xsd +++ b/sandbox/aron/schema/collectionObject.xsd @@ -12,10 +12,10 @@ - - - - + + + + @@ -68,13 +68,13 @@ - - - - - - - + + + + + + + diff --git a/sandbox/aron/schema/collectionObjects.rng b/sandbox/aron/schema/collectionObjects.rng index d0116e585..2df8c8a23 100644 --- a/sandbox/aron/schema/collectionObjects.rng +++ b/sandbox/aron/schema/collectionObjects.rng @@ -2,26 +2,26 @@ + name="collectionObjects" + ns="http://collectionspace.org/hello" + xmlns="http://relaxng.org/ns/structure/1.0" + datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> - - - - - - - - - - - - - 1 - - - - - - - - - - - - - + + + + + + + + + + + + + 1 + + + + + + + + + + + + + - - - + + + diff --git a/sandbox/aron/schema/collectionObjects.xml b/sandbox/aron/schema/collectionObjects.xml index abd74ef35..3c77ddca0 100644 --- a/sandbox/aron/schema/collectionObjects.xml +++ b/sandbox/aron/schema/collectionObjects.xml @@ -2,13 +2,13 @@ - - - org.collectionspace.797220effa5fa160 - 1984.021.0049 - Radio News, vol. 10, no. 2, August 1928 - /collectionObjects/1984.021.0049 - - - - org.collectionspace.68ac7dc8f9e743 - 1997.005.0437 - Toy, Gotham City Police Helicopter, 1992 - /collectionObjects/1997.005.0437 - + xmlns="http://collectionspace.org/hello"> + + + org.collectionspace.797220effa5fa160 + 1984.021.0049 + Radio News, vol. 10, no. 2, August 1928 + /collectionObjects/1984.021.0049 + + + + org.collectionspace.68ac7dc8f9e743 + 1997.005.0437 + Toy, Gotham City Police Helicopter, 1992 + /collectionObjects/1997.005.0437 + diff --git a/sandbox/aron/schema/hello.xsd b/sandbox/aron/schema/hello.xsd index fd1313985..f25188f44 100644 --- a/sandbox/aron/schema/hello.xsd +++ b/sandbox/aron/schema/hello.xsd @@ -7,23 +7,23 @@ version="0.1" > - - - - - - + + + + + + @@ -93,13 +93,13 @@ - - - - - - - + + + + + + + @@ -196,8 +196,8 @@ diff --git a/sandbox/aron/schema/serviceErrorResponse.rng b/sandbox/aron/schema/serviceErrorResponse.rng index 0e8fe88a2..f3f4dc4a1 100644 --- a/sandbox/aron/schema/serviceErrorResponse.rng +++ b/sandbox/aron/schema/serviceErrorResponse.rng @@ -2,16 +2,16 @@ + ns="http://collectionspace.org/hello" + xmlns="http://relaxng.org/ns/structure/1.0" + datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> - - - - 1 - - - - - - - - - - - + + + + 1 + + + + + + + + + + + diff --git a/sandbox/aron/schema/serviceErrorResponse.xml b/sandbox/aron/schema/serviceErrorResponse.xml index 8d619181f..f07d50b9c 100644 --- a/sandbox/aron/schema/serviceErrorResponse.xml +++ b/sandbox/aron/schema/serviceErrorResponse.xml @@ -16,11 +16,11 @@ --> - 1005 - + xmlns="http://collectionspace.org/hello"> + 1005 + -- 2.47.3