|
Hi Andrew, Just want to make sure that you modified the ui.xml as instructed in las/contrib/insitu/INSTRUCTIONS.txt ------------------------------------------------------------ <!DOCTYPE spec SYSTEM "spec.dtd" [ <!ENTITY StdOptions SYSTEM "options.xml"> <!-- general insitu UI behavior and options --> <!ENTITY insitu_ui SYSTEM "insitu_ui.xml"> <!ENTITY insitu_options SYSTEM "insitu_options.xml"> <!-- UI elements specific to the LAS_insitu_demo --> <!ENTITY insitu_demo_ui SYSTEM "insitu_demo_ui.xml"> ]> <lasui title="YOUR TITLE"> &StdOptions; &insitu_ui; &insitu_options; &insitu_demo_ui; ... ------------------------------------------------------------ Joe ----------------------------------- Chase, Andrew wrote: A little more information. In las.xml, in the operations element, I have this: <!-- Operations supported by this server --> <operations url="" class="moz-txt-link-rfc2396E" href="">"http://prey.shore.mbari.org/las-bin/LASserver.pl"> &operations; &insitu_operations; </operations> when I insert a spelling error into the &operations; reference and run $LAS/server/make I get an error in the make process. However, when I insert a spelling error in &insitu_operations I get nothing, still the same error from the UI as before, but nothing from make. My declaration of the entity looks fine: <!-- Declaration of operations files to be included --> <!ENTITY operations SYSTEM "operations.xml"> <!ENTITY insitu_operations SYSTEM "insitu_operations.xml"> And the insitu_operations.xml file is in the server directory, I even opened up the permissions on it, in case that was the problem. For whatever reason, LAS isn't seeing that insitu_operations entity... -Andrew-----Original Message----- From: Chase, Andrew [mailto:achase@mbari.org] Sent: Tuesday, November 09, 2004 11:43 AM To: 'las_users@noaa.gov' Subject: RE: Problems setting up insitu data access Hi Roland, Thanks for your reply. I'm pretty sure I've got the proper references to the insitu_operations.xml in the las.xml file as well as the insitu_operations.xml file in the server directory. I double-checked those steps of the setup process after I received your email, and I made sure to verify that I followed the directions laid out in the documentation. I'm still getting the same error though. I'm going to go back through one more time and make sure my configuration follows the documentation, any other suggestions? Thanks for explaining the path mapping to element hierarchies, that makes a lot more sense. Cheers, Andrew-----Original Message----- From: Roland Schweitzer [mailto:Roland.Schweitzer@noaa.gov] Sent: Tuesday, November 09, 2004 11:25 AM To: Chase, Andrew Cc: 'las_users@noaa.gov' Subject: Re: Problems setting up insitu data access Andrew, You need to make sure the file insitu_operations.xml is in your $LAS_HOME/server directory. If not copy it over from contrib/insitu/server/. Then add a reference to it in the <operations> element of your las.xml file. E.g. <!ENTITY InsituOperations SYSTEM "insitu_operations.xml"> ... <operations url="" class="moz-txt-link-rfc2396E" href="">"http://server.com/las-bin/LASserver.pl"> &StdOperations; &InsituOperations; </operations> By the way, the paths /lasdata/operations/insitu_data_cdf and the like refer to element hierarchies in the XML document, not Unix file systems. The software is looking for a definition in an element hierarchy like this: <lasdata> <operations ...> <insitu_data_cdf.../> ... </operations> </lasdata> which you will be supplying by installing the reference to the insitu_operations.xml file. Roland Chase, Andrew wrote: |