From ba625f3ed982a28cc5b815602fdcef87a8135bae Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Mon, 16 Dec 2013 08:53:00 +1300 Subject: [PATCH] Sample XML for testing --- t/sample_data/AcceptItem.xml | 67 ++++++++++++++++++++++++++ t/sample_data/CancelRequestItem.xml | 37 +++++++++++++++ t/sample_data/CheckInItem.xml | 53 +++++++++++++++++++++ t/sample_data/CheckOutItem.xml | 58 ++++++++++++++++++++++ t/sample_data/CreateUser.xml | 74 +++++++++++++++++++++++++++++ t/sample_data/LookUpUser.xml | 44 +++++++++++++++++ t/sample_data/RequestItem.xml | 69 +++++++++++++++++++++++++++ 7 files changed, 402 insertions(+) create mode 100644 t/sample_data/AcceptItem.xml create mode 100644 t/sample_data/CancelRequestItem.xml create mode 100644 t/sample_data/CheckInItem.xml create mode 100644 t/sample_data/CheckOutItem.xml create mode 100644 t/sample_data/CreateUser.xml create mode 100644 t/sample_data/LookUpUser.xml create mode 100644 t/sample_data/RequestItem.xml diff --git a/t/sample_data/AcceptItem.xml b/t/sample_data/AcceptItem.xml new file mode 100644 index 0000000..0f64465 --- /dev/null +++ b/t/sample_data/AcceptItem.xml @@ -0,0 +1,67 @@ + + + + + + + http://www.auto-graphics.com/ncip/schemes/uniqueagencyid/agencynames.scm + CPomAG:massvc:FLO-WHEELOCK + + + + + http://schema.flo.org/ncip/ag + FLO-WHEELOCK + + + + + + http://schema.flo.org/ncip/ag + FLO-WHEELOCK + + 250 + + + http://www.niso.org/ncip/v1_0/imp1/schemes/requestedactiontype/requestedactiontype.scm + Hold For Pickup And Notify + + + + http://schema.flo.org/ncip/ag + FLO-WHEELOCK + + 4444 + + + + http://schema.flo.org/ncip/ag + FLO-WHEELOCK + + 0113801584633 + + 2013-11-13T23:59:00 + + + Guertin, Mike. + + 1561584630 + + http://www.niso.org/ncip/v1_0/imp1/schemes/bibliographicitemidentifiercode/bibliographicitemidentifiercode.scm + ISBN + + + c2001. + Taunton Press ; Publishers Group West [distributor] + Precision framing + + http://www.niso.org/ncip/v1_0/imp1/schemes/mediumtype/mediumtype.scm + Book + + + + 694.2 .G84 2001 + + + + diff --git a/t/sample_data/CancelRequestItem.xml b/t/sample_data/CancelRequestItem.xml new file mode 100644 index 0000000..a7d31c2 --- /dev/null +++ b/t/sample_data/CancelRequestItem.xml @@ -0,0 +1,37 @@ + + + + + + + http://www.auto-graphics.com/ncip/schemes/uniqueagencyid/agencynames.scm + CPomAG:massvc:FLO-WENTWORTH + + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + FLO-WHEELOCK + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + 252 + + + http://www.niso.org/ncip/v1_0/imp1/schemes/requesttype/requesttype.scm + Loan + + + diff --git a/t/sample_data/CheckInItem.xml b/t/sample_data/CheckInItem.xml new file mode 100644 index 0000000..e951092 --- /dev/null +++ b/t/sample_data/CheckInItem.xml @@ -0,0 +1,53 @@ + + + + + + + http://www.auto-graphics.com/ncip/schemes/uniqueagencyid/agencynames.scm + CPomAG:massvc:FLO-WENTWORTH + + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + + + + 2013-09-19T15:23:00 + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + 0113801584633 + + + http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm + Bibliographic Description + + + http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm + Circulation Status + + + http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm + Name Information + + + http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm + User Address Information + + + http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm + User Privilege + + + http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm + Block Or Trap + + + diff --git a/t/sample_data/CheckOutItem.xml b/t/sample_data/CheckOutItem.xml new file mode 100644 index 0000000..a2383b6 --- /dev/null +++ b/t/sample_data/CheckOutItem.xml @@ -0,0 +1,58 @@ + + + + + + + http://www.auto-graphics.com/ncip/schemes/uniqueagencyid/agencynames.scm + CPomAG:massvc:FLO-WENTWORTH + + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + + + + 2013-08-27T02:34:00 + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + FLO-WHEELOCK + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + 0113801609828 + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + 224 + + + + http://www.bsi-global.com/Technical+Information/Publications/_Publications/tig90x.doc + USD + + 000 + + + http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm + Bibliographic Description + + + http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm + Circulation Status + + + diff --git a/t/sample_data/CreateUser.xml b/t/sample_data/CreateUser.xml new file mode 100644 index 0000000..c30a658 --- /dev/null +++ b/t/sample_data/CreateUser.xml @@ -0,0 +1,74 @@ + + + + + + + http://www.auto-graphics.com/ncip/schemes/uniqueagencyid/agencynames.scm + CPomAG:massvc:FLO-EMERSON + + + + + HTTP://schema.flo.org/ncip/ag + FLO-EMERSON + + + + + 2013-09-04T09:22:00 + + + + http://www.auto-graphics.com/ncip/schemes/uniqueagencyid/agencynames.scm + CPomAG:massvc:FLO-EMERSON + + MASSVC + + + + + http://www.niso.org/ncip/v1_0/imp1/schemes/organizationnametype/organizationnametype.scm + Official Name + + Massachusetts Virtual Catalog + + + + + HTTP://schema.flo.org/ncip/ag + FLO-EMERSON + + + http://www.niso.org/ncip/v1_0/imp1/schemes/agencyuserprivilegetype/public.scm + Staff + + 2013-09-04T00:00:00 + + + http://www.niso.org/ncip/v1_0/imp1/schemes/userprivilegestatustype/userprivilegestatustype.scm + Active + + + user status + + + + HTTP://schema.flo.org/ncip/ag + FLO-EMERSON + + + http://www.niso.org/ncip/v1_0/imp1/schemes/agencyuserprivilegetype/public.scm + Staff + + 2013-09-04T00:00:00 + + + http://www.niso.org/ncip/v1_0/imp1/schemes/userprivilegestatustype/userprivilegestatustype.scm + ILL + + + patron type + + + diff --git a/t/sample_data/LookUpUser.xml b/t/sample_data/LookUpUser.xml new file mode 100644 index 0000000..04024ce --- /dev/null +++ b/t/sample_data/LookUpUser.xml @@ -0,0 +1,44 @@ + + + + + + + http://www.auto-graphics.com/ncip/schemes/uniqueagencyid/agencynames.scm + CPomAG:massvc:FLO-WENTWORTH + + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + FLO-WHEELOCK + + + http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm + Name Information + + + http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm + User Address Information + + + http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm + User Privilege + + + http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm + Block Or Trap + + + + + diff --git a/t/sample_data/RequestItem.xml b/t/sample_data/RequestItem.xml new file mode 100644 index 0000000..d4d4b8b --- /dev/null +++ b/t/sample_data/RequestItem.xml @@ -0,0 +1,69 @@ + + + + + + + http://www.auto-graphics.com/ncip/schemes/uniqueagencyid/agencynames.scm + CPomAG:massvc:FLO-WENTWORTH + + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + + + + 2013-09-19T12:08:00 + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + FLO-WHEELOCK + + + + 134119 + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + + + + + HTTP://schema.flo.org/ncip/ag + FLO-WENTWORTH + + 253 + + + http://www.niso.org/ncip/v1_0/imp1/schemes/requesttype/requesttype.scm + Loan + + + http://www.niso.org/ncip/v1_0/imp1/schemes/requestscopetype/requestscopetype.scm + Bibliographic Item + + 2013-12-18T00:00:00 + + + http://www.bsi-global.com/Technical+Information/Publications/_Publications/tig90x.doc + USD + + 000 + + + http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm + Bibliographic Description + + + http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm + Circulation Status + + + -- 2.43.2