[opencms-dev] XSD's
Atle Enersen
atle.enersen at gmail.com
Fri Jan 5 13:46:27 CET 2024
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.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-0001.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-0002.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-0003.obj>
More information about the opencms-dev
mailing list