Typo patch from Dan Scott, correcting the Namespace URI for the persistEnce
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 28 May 2007 19:18:48 +0000 (19:18 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 28 May 2007 19:18:48 +0000 (19:18 +0000)
namespace in the IDL, and in files that parse or use said file and
namespace.

http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001094.html

git-svn-id: svn://svn.open-ils.org/ILS/trunk@7366 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/fm_IDL.xml
Open-ILS/src/c-apps/oils_idl-core.c
Open-ILS/src/extras/fieldmapper_IDL.pl
Open-ILS/src/java/org/open_ils/idl/IDLParser.java
Open-ILS/src/python/oils/const.py
Open-ILS/web/reports/oils_rpt_vars.js
Open-ILS/web/reports/xul/source-setup.js

index 452ae00..d3a0314 100644 (file)
@@ -1,6 +1,6 @@
-<IDL xmlns="http://opensrf.org/spec/IDL/base/v1" xmlns:oils_persist="http://open-ils.org/spec/opensrf/IDL/persistance/v1" xmlns:oils_obj="http://open-ils.org/spec/opensrf/IDL/objects/v1" xmlns:reporter="http://open-ils.org/spec/opensrf/IDL/reporter/v1">
+<IDL xmlns="http://opensrf.org/spec/IDL/base/v1" xmlns:oils_persist="http://open-ils.org/spec/opensrf/IDL/persistence/v1" xmlns:oils_obj="http://open-ils.org/spec/opensrf/IDL/objects/v1" xmlns:reporter="http://open-ils.org/spec/opensrf/IDL/reporter/v1">
 
-       <!-- Virutal classes -->
+       <!-- Virtual classes -->
        <class id="mups" controller="open-ils.cstore" oils_obj:fieldmapper="money::user_payment_summary" oils_persist:virtual="true">
                <fields>
                        <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
                        <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
                        <field reporter:label="Circulation Duration" name="circ_duration" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="interval"/>
                        <field reporter:label="Non-cat Type ID" name="id" oils_obj:array_position="4" oils_persist:virtual="false" reporter:selector="name" reporter:datatype="id"/>
-                       <field reporter:label="InHouse?" name="in_house" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="bool"/>
+                       <field reporter:label="In House?" name="in_house" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="bool"/>
                        <field reporter:label="Name" name="name" oils_obj:array_position="6" oils_persist:virtual="false"  reporter:datatype="text"/>
                        <field reporter:label="Owning Library" name="owning_lib" oils_obj:array_position="7" oils_persist:virtual="false"  reporter:datatype="org_unit"/>
                </fields>
        </class>
 
        <!-- ********************************************************************************************************************* -->
-       <!-- What follows is a set of example extentions that are useful for PINES.  Comment out or remove if you don't want them. -->
+       <!-- What follows is a set of example extensions that are useful for PINES.  Comment out or remove if you don't want them. -->
        <!-- ********************************************************************************************************************* -->
        <class id="rccc" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::classic_current_circ" oils_persist:tablename="reporter.classic_current_circ" reporter:core="true" reporter:label="Classic Circulation View">
                <fields oils_persist:primary="id">
index 906c47e..0ed848e 100644 (file)
@@ -9,7 +9,7 @@
 #include <libxml/debugXML.h>
 #include <libxml/xmlmemory.h>
 
-#define PERSIST_NS "http://open-ils.org/spec/opensrf/IDL/persistance/v1"
+#define PERSIST_NS "http://open-ils.org/spec/opensrf/IDL/persistence/v1"
 #define OBJECT_NS "http://open-ils.org/spec/opensrf/IDL/objects/v1"
 #define BASE_NS "http://opensrf.org/spec/IDL/base/v1"
 
index 9c0b2c6..6e95814 100755 (executable)
@@ -20,7 +20,7 @@ die $@ if ($@);
 warn "Generating fieldmapper IDL xml...\n";
 
 print <<XML;
-<IDL xmlns="http://opensrf.org/spec/IDL/base/v1" xmlns:oils_persist="http://open-ils.org/spec/opensrf/IDL/persistance/v1" xmlns:oils_obj="http://open-ils.org/spec/opensrf/IDL/objects/v1">
+<IDL xmlns="http://opensrf.org/spec/IDL/base/v1" xmlns:oils_persist="http://open-ils.org/spec/opensrf/IDL/persistence/v1" xmlns:oils_obj="http://open-ils.org/spec/opensrf/IDL/objects/v1">
 XML
 
 
index d6b8ed3..19b14d4 100644 (file)
@@ -20,7 +20,7 @@ public class IDLParser {
     public static final String OILS_NS_BASE="http://opensrf.org/spec/IDL/base/v1";
     public static final String OILS_NS_OBJ="http://open-ils.org/spec/opensrf/IDL/objects/v1";
     public static final String OILS_NS_OBJ_PREFIX="oils_obj";
-    public static final String OILS_NS_PERSIST="http://open-ils.org/spec/opensrf/IDL/persistance/v1";
+    public static final String OILS_NS_PERSIST="http://open-ils.org/spec/opensrf/IDL/persistence/v1";
     public static final String OILS_NS_PERSIST_PREFIX="oils_persist";
     public static final String OILS_NS_REPORTER="http://open-ils.org/spec/opensrf/IDL/reporter/v1";
     public static final String OILS_NS_REPORTER_PREFIX="reporter";
index 52ee81f..283550e 100644 (file)
@@ -15,7 +15,7 @@
 
 
 OILS_NS_OBJ='http://open-ils.org/spec/opensrf/IDL/objects/v1'
-OILS_NS_PERSIST='http://open-ils.org/spec/opensrf/IDL/persistance/v1'
+OILS_NS_PERSIST='http://open-ils.org/spec/opensrf/IDL/persistence/v1'
 OILS_NS_REPORTER='http://open-ils.org/spec/opensrf/IDL/reporter/v1'
 
 OILS_APP_CSTORE='open-ils.cstore'
index ef365d3..bf3594e 100644 (file)
@@ -55,7 +55,7 @@ var oilsPageXMid;
 var oilsPageYMid;
 
 var oilsIDLReportsNS = 'http://open-ils.org/spec/opensrf/IDL/reporter/v1';
-var oilsIDLPersistNS = 'http://open-ils.org/spec/opensrf/IDL/persistance/v1';
+var oilsIDLPersistNS = 'http://open-ils.org/spec/opensrf/IDL/persistence/v1';
 
 /* the current transform manager for the builder transform window */
 var oilsRptCurrentTform;
index 4cf5222..ac88c33 100644 (file)
@@ -1,6 +1,6 @@
 
 var idlNS      = "http://opensrf.org/spec/IDL/base/v1";
-var persistNS  = "http://open-ils.org/spec/opensrf/IDL/persistance/v1";
+var persistNS  = "http://open-ils.org/spec/opensrf/IDL/persistence/v1";
 var objNS      = "http://open-ils.org/spec/opensrf/IDL/objects/v1";
 var rptNS      = "http://open-ils.org/spec/opensrf/IDL/reporter/v1";
 var gwNS       = "http://opensrf.org/-/namespaces/gateway/v1";