|
From: Henk M. <Hen...@KB...> - 2007-09-11 15:16:36
|
Dear colleagues =20 Problem solved, I've found the cause. In the lists dir of the MPF-1.6RC1 distribution in last June there were = a departements.xml and a regions.xml containing the French departments = and French regions descriptions. =20 The regions.xml I rewrote and translated to contain the 12 provinces of = the Netherlands (using a 4 character alphanumerical code to distinguish = from the two digit numerical code in the French version) and deleted = departements.xml from the Lists directory deep down in the init branch. =20 I copied this list back form a backup and imported it into the platform = as usual.=20 The second form page of the institution type now displays properly, but = with an empty (because not translated) list for the d=E9partements = (pronounced French-like;-)=20 Regions field is showing the names of the 12 Dutch provinces correctly. =20 The only thing I'm still wondering about is why the second page of the = digital collection did show without the subjects.xml being imported in = the MPF (due to character errors in the file) and in the this case an = error message is produced because of a missing list in the MPF. I guess = analogue situations should be addressed the same way, but apparently = they're not. But that is minor issue. =20 Sorry for possibly having taken up some of your time reading my mails. =20 Regards Henk =20 =20 PS=20 I'll see if deleting the widgets for departements is a possible solution = to get rid of the empty drop down menu. =20 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Henk Matthezing Koninklijke Bibliotheek / National Library of the Netherlands Research & Development - project coordinator MICHAEL+ and STITCH POB 90407 - 2509 LK Den Haag / The Hague - The Netherlands=20 Phone: +31 70 31 40 687 - Mobile: +31 6 12 46 17 55 hen...@kb... <mailto:hen...@kb...> - = http://www.kb.nl - http://www.michael-culture.org/ - = http://stitch.cs.vu.nl/ ________________________________ Van: mic...@am... [mailto:mic...@am...] Namens Henk = Matthezing Verzonden: dinsdag 11 september 2007 15:50 Aan: Henk Matthezing Onderwerp: [michaeltech] error while trying to open page 2 off = institution type {01} =20 Dear colleagues =20 While trying to open page to entry form for the institution type=20 B) Institution address =20 I'm getting the following error _________________________________________________________________________= ____________ An Error Occurred Content is not allowed in prolog. org.apache.avalon.framework.CascadingRuntimeException: uncaught = JavaScript exception: at wizardDatatype (file:/D:/Program Files/Apache = Software Foundation/Tomcat = 5.0/webapps/mpf/xdepo-local/sitemap/../../xdepo-system/sitemap/../index.j= s, Line 1606) at Form = (resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line 47): = org.xml.sax.SAXParseException: Content is not allowed in prolog. column: 7 line: 9 cause: org.xml.sax.SAXParseException: Content is not allowed in prolog. location: = cocoon://priv/listvalues.xml?uri=3D/Lists/&doc=3Ddepartements.xml&hasFirs= tEmptyValue=3D1 full exception chain stacktrace[show]=20 _______________________________________________________________________ =20 Lately I've translated the files in the xdepo-local/translations = directory but they parse ok. Previously I changed the identiers to be generated automatically and = experimented with adding textfields and repeatable fields But these actions did not involve the usage of the display_2.xml, = form_2.xml and binding_2.xml for the institution type Am using: =20 Win 2000 server / Tomcat/5.0.28 / MPF-1.6RC1 =20 Anyone knows how to solve this =20 =20 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Henk Matthezing Koninklijke Bibliotheek / National Library of the Netherlands Research & Development - project coordinator MICHAEL+ and STITCH POB 90407 - 2509 LK Den Haag / The Hague - The Netherlands=20 Phone: +31 70 31 40 687 - Mobile: +31 6 12 46 17 55 hen...@kb... <mailto:hen...@kb...> - = http://www.kb.nl - http://www.michael-culture.org/ - = http://stitch.cs.vu.nl/ =20 |