[opencms-dev] XSD's
Schliemann, Kai
K.Schliemann at comundus.com
Fri Jan 12 14:30:05 CET 2024
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 <opencms-dev-bounces at opencms.org> Im Auftrag von Atle Enersen via opencms-dev
Gesendet: Freitag, 12. Januar 2024 13:30
An: opencms-dev at opencms.org
Cc: Atle Enersen <atle.enersen at gmail.com>
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 <opencms-dev-bounces at opencms.org> På vegne av opencms-dev-request at opencms.org
Sendt: søndag 7. januar 2024 12:00
Til: opencms-dev at opencms.org
Emne: opencms-dev Digest, Vol 112, Issue 7
Send opencms-dev mailing list submissions to
opencms-dev at opencms.org
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
opencms-dev-request at opencms.org
You can reach the person managing the list at
opencms-dev-owner at opencms.org
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" <atle.enersen at gmail.com>
To: <opencms-dev at opencms.org>
Subject: Re: [opencms-dev] XSD's
Message-ID: <00b701da40a5$81603b80$8420b280$@gmail.com>
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 <opencms-dev-bounces at opencms.org> På vegne av opencms-dev-request at opencms.org
Sendt: lørdag 6. januar 2024 12:00
Til: opencms-dev at opencms.org
Emne: opencms-dev Digest, Vol 112, Issue 6
Send opencms-dev mailing list submissions to
opencms-dev at opencms.org
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
opencms-dev-request at opencms.org
You can reach the person managing the list at
opencms-dev-owner at opencms.org
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" <atle.enersen at gmail.com>
To: <opencms-dev at opencms.org>
Subject: Re: [opencms-dev] XSD's
Message-ID: <005d01da3fd5$331fb1b0$995f1510$@gmail.com>
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 <opencms-dev-bounces at opencms.org> På vegne av opencms-dev-request at opencms.org
Sendt: fredag 5. januar 2024 12:00
Til: opencms-dev at opencms.org
Emne: opencms-dev Digest, Vol 112, Issue 5
Send opencms-dev mailing list submissions to
opencms-dev at opencms.org
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
opencms-dev-request at opencms.org
You can reach the person managing the list at
opencms-dev-owner at opencms.org
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 <m.emmerich at alkacon.com>
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] opencms-dev Digest, Vol 112, Issue 3
Message-ID: <3a6f684c-1720-445d-be94-daab6d9da9e3 at alkacon.com>
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 <opencms-dev-bounces at opencms.org> På vegne av
> opencms-dev-request at opencms.org
> Sendt: onsdag 3. januar 2024 12:00
> Til: opencms-dev at opencms.org
> Emne: opencms-dev Digest, Vol 112, Issue 3
>
> Send opencms-dev mailing list submissions to
> opencms-dev at opencms.org
>
> 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
> opencms-dev-request at opencms.org
>
> You can reach the person managing the list at
> opencms-dev-owner at opencms.org
>
> 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 <m.emmerich at alkacon.com>
> To: opencms-dev at opencms.org
> Subject: Re: [opencms-dev] Update I: Unmarshalling XML document
> failed. (systemId = null)
> Message-ID: <046673db-1e5a-4e2a-b2ca-750fc02a3f9c at alkacon.com>
> 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 <opencms-dev-bounces at opencms.org> På vegne av
>> opencms-dev-request at opencms.org
>> Sendt: søndag 31. desember 2023 12:00
>> Til: opencms-dev at opencms.org
>> Emne: opencms-dev Digest, Vol 112, Issue 1
>>
>> Send opencms-dev mailing list submissions to
>> opencms-dev at opencms.org
>>
>> 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
>> opencms-dev-request at opencms.org
>>
>> You can reach the person managing the list at
>> opencms-dev-owner at opencms.org
>>
>> 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" <atle.enersen at gmail.com>
>> To: <opencms-dev at opencms.org>
>> Subject: [opencms-dev] Unmarshalling XML document failed. (systemId =
>> null)
>> Message-ID: <014401da3b2a$048d5f50$0da81df0$@gmail.com>
>> 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
More information about the opencms-dev
mailing list