Re: XSD's
"Schliemann, Kai via opencms-dev" <[email protected]> Fri, 12 Jan 2024 13:30:05 +0000
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <AS8PR08MB101008EA1DF3F443145F35327FC6F2@AS8PR08MB10100.eurprd08.prod.outlook.com> |
Hi Atle, I did not follow the whole thread so this answer might already be given or not helpful. You could try the following: 1. OpenCms export of all content (under sites/default) to have a backup of your original content structure. 2. In your schema files remove field by field in your schema file(s) systematically and see, when the error disappears. Doing so, you should be able to identify the field, which is responsible for the error. 3. Repair your schema and import the formerly exported content. If this does not help you could try something else. 1. OpenCms export of all content (under sites/default) 2. delete all content under sites/default and publish 3. Import the content you formerly exported. 4. Hope, that everything now works "automagically". Best regards Kai -----Ursprüngliche Nachricht----- Von: opencms-dev <[email protected]> Im Auftrag von Atle Enersen via opencms-dev Gesendet: Freitag, 12. Januar 2024 13:30 An: [email protected] Cc: Atle Enersen <[email protected]> Betreff: Re: [opencms-dev] XSD's Hello again. Anyone have any idea what this could be? Could it be control codes in the text? I could do a fresh install, but would rather not tear down what is configured so far... Best regards, Atle Enersen -- Tel.: +47 48063171 Bluesky/X-Twitter: @nesrene -----Opprinnelig melding----- Fra: opencms-dev <[email protected]> På vegne av [email protected] Sendt: søndag 7. januar 2024 12:00 Til: [email protected] Emne: opencms-dev Digest, Vol 112, Issue 7 Send opencms-dev mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.opencms.org/mailman/listinfo/opencms-dev or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of opencms-dev digest..." Today's Topics: 1. Re: XSD's (Atle Enersen) ---------------------------------------------------------------------- Message: 1 Date: Sat, 6 Jan 2024 14:37:34 +0100 From: "Atle Enersen" <[email protected]> To: <[email protected]> Subject: Re: [opencms-dev] XSD's Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" Hello again. I did some house cleaning, and left in the system aret hese two resource types. Same unmashalling error still persists. See the attached image. Best regards, Atle Enersen -- Tel.: +47 48063171 Bluesky/X-Twitter: @nesrene -----Opprinnelig melding----- Fra: opencms-dev <[email protected]> På vegne av [email protected] Sendt: lørdag 6. januar 2024 12:00 Til: [email protected] Emne: opencms-dev Digest, Vol 112, Issue 6 Send opencms-dev mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.opencms.org/mailman/listinfo/opencms-dev or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of opencms-dev digest..." Today's Topics: 1. Re: XSD's (Atle Enersen) ---------------------------------------------------------------------- Message: 1 Date: Fri, 5 Jan 2024 13:46:27 +0100 From: "Atle Enersen" <[email protected]> To: <[email protected]> Subject: Re: [opencms-dev] XSD's Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" Hello Michael. Attached are the four files that is in the schemas-directory. Vennlig hilsen Atle Enersen -- Tel.: +47 48063171 Bluesky/X-Twitter: @nesrene -----Opprinnelig melding----- Fra: opencms-dev <[email protected]> På vegne av [email protected] Sendt: fredag 5. januar 2024 12:00 Til: [email protected] Emne: opencms-dev Digest, Vol 112, Issue 5 Send opencms-dev mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.opencms.org/mailman/listinfo/opencms-dev or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of opencms-dev digest..." Today's Topics: 1. Re: opencms-dev Digest, Vol 112, Issue 3 (Michael Emmerich) ---------------------------------------------------------------------- Message: 1 Date: Fri, 5 Jan 2024 10:14:02 +0100 From: Michael Emmerich <[email protected]> To: [email protected] Subject: Re: [opencms-dev] opencms-dev Digest, Vol 112, Issue 3 Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Atle, the configuration look good so far. So we have to check the xsd files. As I mentioned in my previous mail, such unmarshaling errors indicate that something might be wrong in there. So can you please post the xsd files so that I can check them. Kind regards, Michael Am 04.01.24 um 07:17 schrieb Atle Enersen via opencms-dev: > Hello Michael. > > Attached you will find the four relevant images. > > Vennlig hilsen Atle Enersen > -- > Tel.: +47 48063171 > Bluesky/X-Twitter: @nesrene > > -----Opprinnelig melding----- > Fra: opencms-dev <[email protected]> På vegne av > [email protected] > Sendt: onsdag 3. januar 2024 12:00 > Til: [email protected] > Emne: opencms-dev Digest, Vol 112, Issue 3 > > Send opencms-dev mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.opencms.org/mailman/listinfo/opencms-dev > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific than "Re: Contents of opencms-dev digest..." > > > Today's Topics: > > 1. Re: Update I: Unmarshalling XML document failed. (systemId = > null) (Michael Emmerich) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 2 Jan 2024 13:00:28 +0100 > From: Michael Emmerich <[email protected]> > To: [email protected] > Subject: Re: [opencms-dev] Update I: Unmarshalling XML document > failed. (systemId = null) > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hello Atle, > > in general, this kind of error appears when the schema file that defines the structure of your content has an error. Normally this is usually caused by some syntax error in the xsd file of your content. > > > However, with the update you have posted, it appears that the content type you want to create with the new function does not refer to an xsd at all, but to the folder "/system/modules/org.opencms.base/formatters/". Which would be a misconfiguration of your content type. > > > Can you please post a screenshot of the resource type app in the launchpad to see how the content type is defined: > > - Launchpad -> Resource Types > > - Click on the context menu of the type you tried to create with the > new function and which caused the error > > -> Select "Edit resource type" > > -> Post a screenshot of the dialog here so we can see who this type is > configured. > > Kind regards, > > Michael > > > Am 31.12.23 um 17:20 schrieb Atle Enersen via opencms-dev: >> In the logfile /srv/tomcat-webapps/webapps/oc/WEB-INF/logs/opencms.log I find: >> >> org.opencms.xml.CmsXmlException: Unmarshal of XML document >> "/system/modules/org.opencms.base/formatters/" failed. Cannot read >> "opencms://system/modules/org.opencms.base/formatters/". at >> org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefin\ >> >> Hope this helps. >> >> Happy new year everyone! >> >> Best regards, Atle Enersen >> -- >> Tel.: +47 48063171 >> Bluesky/X-Twitter: @nesrene >> >> -----Opprinnelig melding----- >> Fra: opencms-dev <[email protected]> På vegne av >> [email protected] >> Sendt: søndag 31. desember 2023 12:00 >> Til: [email protected] >> Emne: opencms-dev Digest, Vol 112, Issue 1 >> >> Send opencms-dev mailing list submissions to >> [email protected] >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://lists.opencms.org/mailman/listinfo/opencms-dev >> or, via email, send a message with subject or body 'help' to >> [email protected] >> >> You can reach the person managing the list at >> [email protected] >> >> When replying, please edit your Subject line so it is more specific than "Re: Contents of opencms-dev digest..." >> >> >> Today's Topics: >> >> 1. Unmarshalling XML document failed. (systemId = null) >> (Atle Enersen) >> >> >> --------------------------------------------------------------------- >> - >> >> Message: 1 >> Date: Sat, 30 Dec 2023 15:11:00 +0100 >> From: "Atle Enersen" <[email protected]> >> To: <[email protected]> >> Subject: [opencms-dev] Unmarshalling XML document failed. (systemId = >> null) >> Message-ID: <[email protected]> >> Content-Type: text/plain; charset="utf-8" >> >> Hello. >> >> >> >> I am not sure if I have asked this question before. >> >> >> >> When adding new content from <wand> and into a content block I get his error right after mouse up: >> >> >> >> <Unmarshalling XML document failed. (systemId = null) Reason:Error on >> line 1 of document : The markup in the document preceding the root >> element must be well-formed.> >> >> >> >> This happens on both two contetent classes I have. I am not shure which files to repair and what is wrong. This error was not in the system at the beginning, it sneaked into it. >> >> >> >> Does anyone have a clue and can help? >> >> >> >> Best regards, Atle Enersen. >> >> -- >> >> Tel.: +47 48063171 >> >> Bluesky/X-Twitter: @nesrene >> >> >> >> -------------- next part -------------- An HTML attachment was >> scrubbed... >> URL: >> <http://lists.opencms.org/pipermail/opencms-dev/attachments/20231230/ >> 0c2285c9/attachment-0001.htm> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> 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 >> >> >> ------------------------------ >> >> End of opencms-dev Digest, Vol 112, Issue 1 >> ******************************************* >> >> _______________________________________________ >> 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 > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > 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 > > > ------------------------------ > > End of opencms-dev Digest, Vol 112, Issue 3 > ******************************************* > > _______________________________________________ > 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 ------------------------------ Subject: Digest Footer _______________________________________________ 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 ------------------------------ End of opencms-dev Digest, Vol 112, Issue 5 ******************************************* -------------- next part -------------- A non-text attachment was scrubbed... Name: enersen_first_config.xsd Type: application/octet-stream Size: 2345 bytes Desc: not available URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20240105/b088d3f1/attachment-0004.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: enersenarticlesimple.xsd Type: application/octet-stream Size: 3442 bytes Desc: not available URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20240105/b088d3f1/attachment-0005.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: listconfig_enersen.xsd Type: application/octet-stream Size: 2139 bytes Desc: not available URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20240105/b088d3f1/attachment-0006.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: mycontent.xsd Type: application/octet-stream Size: 2082 bytes Desc: not available URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20240105/b088d3f1/attachment-0007.obj> ------------------------------ Subject: Digest Footer _______________________________________________ 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 ------------------------------ End of opencms-dev Digest, Vol 112, Issue 6 ******************************************* -------------- next part -------------- A non-text attachment was scrubbed... Name: Skjermbilde 2024-01-06 143443.png Type: image/png Size: 33330 bytes Desc: not available URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20240106/733fd349/attachment-0001.png> ------------------------------ Subject: Digest Footer _______________________________________________ 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 ------------------------------ End of opencms-dev Digest, Vol 112, Issue 7 ******************************************* _______________________________________________ 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 _______________________________________________ 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