Re: XSD's
Michael Emmerich via opencms-dev <[email protected]> Mon, 22 Jan 2024 10:01:38 +0100
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Atle, thanks for providing your module. I downloaded and tested it, and what should I say - it worked without any issue. So here is what I did: 1) Made a fresh installation of OpenCms 16 on a Linux box, using Tomcat 9, OpenJdk 1.8 and MySql 8.0 2) For the installation I selected the defaults everywhere, so the installation was with the Mercury Demo. 3) After OpenCms was set up, I have installed your module "org.enerson.core", installation proceeded without any issue. 4) I created a new Site in my system. While doing so, I selected your template "/system/modules/org.enersen.core/templates/enersen.jsp" as the template to be used 5) The site was created with the .content folder inside of it an an index.html in its site root. 6) I clicked on the "index.html" and your template is shown. 7) I now used the "new" function to pull something on the page. All Mercury content types were shown disabled (as they do not match to the container in your template). Your "Ensens Article" content is active and can be dragged into the template. No error occurs. 8) I then edited the content that was dragged to the page, which was also possible without an error. So to sum it up, the module that I downloaded worked as it should and I could not reproduce the error. So my best guess is that something is wrong in your installation or you have something additional in the system that causes the problem. Although I do not know what this might be. Can you try to do the steps that I described and check if this works? If not, it would be helpful to provide a complete opencms.log Kind regards, Michael Am 21.01.24 um 09:49 schrieb Atle Enersen via opencms-dev: > Hei Kai. > > Tried to post the dump here but the email-system refused it because of the attachment. So I uploaded it to a server: > > https://1408.no/multimedia/opencms/ > > Vennlig hilsen Atle Enersen > -- > Tel.: +47 48063171 > Bluesky/X-Twitter: @nesrene > > -----Opprinnelig melding----- > Fra: Schliemann, Kai <[email protected]> > Sendt: fredag 19. januar 2024 13:38 > Til: The OpenCms mailing list <[email protected]> > Kopi: Atle Enersen <[email protected]> > Emne: AW: [opencms-dev] XSD's > > Hello Etle, > > is it possible, that not the schema has a problem but your JSP? > Can you check, if the rendered HTML is well formed. We had it once in a while that when the HTML in the JSP was not well formed, that we got such an error. > So I would recommend to remove all unnecessary HTML code from that jsp and try it again. > Or as Michael mentioned, provide your module her, so that it can be tested by Michael or someone else. > Best regards > Kai > > -----Ursprüngliche Nachricht----- > Von: opencms-dev <[email protected]> Im Auftrag von Atle Enersen via opencms-dev > Gesendet: Donnerstag, 18. Januar 2024 15:15 > An: [email protected] > Cc: Atle Enersen <[email protected]> > Betreff: Re: [opencms-dev] XSD's > > Hello again. > > The exception seems to happen in the /system/modules/org.enersen.core/templates/eng.jsp - when I hit enter to add a new line at the top of the file the exception reports the same, but now on line 2. See the attached image. > > Regards, Atle Enersen > -- > Tel.: +47 48063171 > Bluesky/X-Twitter: @nesrene > > -----Opprinnelig melding----- > > 2. Re: XSD's (Atle Enersen) > ---------------------------------------------------------------------- > > Message: 2 > Date: Wed, 17 Jan 2024 16:04:27 +0100 > From: "Atle Enersen" <[email protected]> > To: "'Schliemann, Kai'" <[email protected]> > Cc: <[email protected]> > Subject: Re: [opencms-dev] XSD's > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > Hello Kai, and thanks for taking time to explore this strange behaviour. > > 1. It seems it only triggers the exception on content I add. I could add, modify and remove content in the Mercury template without any errors. > > 2. MySQL: Server version: 5.7.42-0ubuntu0.18.04.1 (Ubuntu) > > 3. Tomcat 9.0.33. > > 4. No, well, yes. The standard apps that ship with Tomcat. > > 5. No. > > 6. root@s160-153-244-17:/home/nesrene# java -version openjdk version "1.8.0_362" > OpenJDK Runtime Environment (build 1.8.0_362-8u372-ga~us1-0ubuntu1~18.04-b09) > OpenJDK 64-Bit Server VM (build 25.362-b09, mixed mode) > > > Vennlig hilsen Atle Enersen > -- > Tel.: +47 48063171 > Bluesky/X-Twitter: @nesrene > > > > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list > To change your list options, or to unsubscribe from the list, please visit > https://lists.opencms.org/mailman/listinfo/opencms-dev > > > -- Michael Emmerich Alkacon Software GmbH & Co. KG - The OpenCms Experts http://www.alkacon.com http://www.opencms.org _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit https://lists.opencms.org/mailman/listinfo/opencms-dev