How to set up custom DTD in content fusion

Having trouble accessing the Oxygen Content Fusion platform or installing the server solution? Got a bug to report? Post it all here.
subejugu
Posts: 1
Joined: Thu Sep 23, 2021 2:18 pm

How to set up custom DTD in content fusion

Post by subejugu »

HI All,
when we create a task from Oxygen editor to content fusion , we are seeing the error "cannot load the associate css file". The DTD is not resolving . How to setup custom DTS in to content fusion.
image.png
image.png (47.99 KiB) Viewed 3430 times
cannot load css for task.png
cannot load css for task.png (49.12 KiB) Viewed 3430 times
mihai_coanda
Posts: 78
Joined: Wed Jul 20, 2016 8:22 am

Re: How to set up custom DTD in content fusion

Post by mihai_coanda »

Hello,

What document type (framework) do your documents have?
This issue is most probably due to the Content Fusion not managing to identify the correct document type (framework) or not having your document type installed in case you are using a custom document type or an extension of a built-in one.

Best Regards,
Michael
Michael

https://www.oxygenxml.com
raya06
Posts: 1
Joined: Thu Sep 08, 2022 12:29 pm

Re: How to set up custom DTD in content fusion

Post by raya06 »

Hi,
I'm also curious about this. We're interested in buying Content Fusion but we have custom DTDs. Is there a way to use custom DTDs in Content Fusion?
Thanks!
mihaela
Posts: 490
Joined: Wed May 20, 2009 2:40 pm

Re: How to set up custom DTD in content fusion

Post by mihaela »

Hello,

Sure, you can use custom DTDs in Content Fusion, on an enterprise server.
The solution is to create a framework to associate your documents with the DTDs and then upload the framework on the Content Fusion server.

Please let us know if you need more information.

Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
janosficsor
Posts: 2
Joined: Thu Oct 19, 2023 7:12 pm

Re: How to set up custom DTD in content fusion

Post by janosficsor »

Hi,

I’m also struggling with adding support to our custom DTDs. I followed the tutorial and created the custom framework, which is the extension of the DITA framework. I added my DTDs and the suggested catalog file. All documents validate fine in Oxygen Author v25. However, when I want to open my topic in Content Fusion 6 beta I get a “The resource could not be found” warning message. I tried to look at the logs provided on the admin panel, but none of them gave any indication on what could be missing. Can you please help me identify what could cause this?
My company is also interested in buying the product, but we cannot evaluate without our custom content model.

Thanks
Janos
cosminef
Site Admin
Posts: 79
Joined: Wed Aug 30, 2023 2:33 pm

Re: How to set up custom DTD in content fusion

Post by cosminef »

Hello,

What path did you use to access the DTD in the framework?

Best Regards,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
janosficsor
Posts: 2
Joined: Thu Oct 19, 2023 7:12 pm

Re: How to set up custom DTD in content fusion

Post by janosficsor »

Hi Cosmin,

I use this in the .framework file in the xmlCatalog field: ${framework}/DocTypes/catalog.xml
What is weird, is that the specialized map loads just fine, but the specialized topic does not:
image.png
image.png (319.65 KiB) Viewed 1017 times
image.png
image.png (77.09 KiB) Viewed 1017 times
If I remove the framework, the content shows up, bt does not validate:
image.png
image.png (174.85 KiB) Viewed 1017 times
Last edited by janosficsor on Fri Oct 20, 2023 4:42 pm, edited 1 time in total.
cosminef
Site Admin
Posts: 79
Joined: Wed Aug 30, 2023 2:33 pm

Re: How to set up custom DTD in content fusion

Post by cosminef »

Hello,

To investigate the situation you are encountering in more detail, you need to check the Web Author logs.
To do this, you have to go to the Content Fusion Administration Page at the Maintenance tab and in the bottom of the page click on Show logs and select Web Author from Service name.

Best Regards,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
janosficsor
Posts: 2
Joined: Thu Oct 19, 2023 7:12 pm

Re: How to set up custom DTD in content fusion

Post by janosficsor »

This is what I see in the logs if I open the map first than opening the topic:

Code: Select all

2023-10-24T07:06:46.995910047Z 2023-10-24 07:06:46,995 WARN [ http-nio-8080-exec-9 ] com.oxygenxml.webauthor.SecurityManager - [OUTGOING CONNECTION] <review-api:8080> - The application tried to connect to http://review-api:8080/api/me.
2023-10-24T07:06:46.996107077Z 2023-10-24 07:06:46,995 WARN [ http-nio-8080-exec-7 ] com.oxygenxml.webauthor.SecurityManager - [OUTGOING CONNECTION] <review-api:8080> - The application tried to connect to http://review-api:8080/api/me.
2023-10-24T07:06:47.016073207Z 2023-10-24 07:06:47,015 WARN [ http-nio-8080-exec-10 ] com.oxygenxml.webauthor.SecurityManager - [OUTGOING CONNECTION] <review-api:8080> - The application tried to connect to http://review-api:8080/api/me.
2023-10-24T07:06:47.576487174Z 2023-10-24 07:06:47,576 WARN [ http-nio-8080-exec-5 ] com.oxygenxml.webauthor.SecurityManager - [OUTGOING CONNECTION] <lb:10080> - The application tried to connect to http://lb:10080/api/author/files.
2023-10-24T07:06:48.023346601Z 2023-10-24 07:06:48,023 WARN [ http-nio-8080-exec-5 ] com.oxygenxml.webauthor.SecurityManager - [OUTGOING CONNECTION] <lb:10080> - The application tried to connect to http://lb:10080/api/author/files.
2023-10-24T07:06:48.132197303Z 2023-10-24 07:06:48,131 WARN [ http-nio-8080-exec-5 ] com.oxygenxml.webapp.monitoring.MonitoringFilter - Long request: http://webauthor-servers/oxygen-xml-web-author/rest/v25.1.0/doc/load?userName=Janos%20Ficsor - took 0.558620557seconds
2023-10-24T07:06:50.183012388Z 2023-10-24 07:06:50,182 WARN [ http-nio-8080-exec-8 ] com.oxygenxml.webauthor.SecurityManager - [OUTGOING CONNECTION] <lb:10080> - The application tried to connect to http://lb:10080/api/author/lock/remove/-8197748537464613708.
2023-10-24T07:06:50.972893729Z 2023-10-24 07:06:50,972 WARN [ http-nio-8080-exec-10 ] com.oxygenxml.webauthor.SecurityManager - [OUTGOING CONNECTION] <lb:10080> - The application tried to connect to http://lb:10080/api/author/files.
2023-10-24T07:06:51.235256502Z 2023-10-24 07:06:51,235 WARN [ http-nio-8080-exec-10 ] com.oxygenxml.webapp.monitoring.MonitoringFilter - Long request: http://webauthor-servers/oxygen-xml-web-author/rest/v25.1.0/doc/load?userName=Janos%20Ficsor - took 0.265283557seconds
2023-10-24T07:07:44.005665657Z {"errors.percentage.doc-load":0.9855926534023304,"memory.heap.max":3221225472,"memory.pools.Compressed-Class-Space.max":1073741824,"memory.pools.Compressed-Class-Space.used":10381480,"memory.pools.CodeHeap-'non-nmethods'.max":5828608,"memory.non-heap.init":7667712,"webauthor.validator_cache_eviction":0,"ce-highlights-keeper-size":{"count":0,"max":0,"mean":0.0,"min":0,"p50":0.0,"p75":0.0,"p95":0.0,"p98":0.0,"p99":0.0,"p999":0.0,"stddev":0.0},"memory.total.used":395149336,"memory.pools.Metaspace.init":0,"memory.pools.CodeHeap-'non-nmethods'.usage":0.24668394237526353,"validation-duration":{"count":2,"max":2332.1615039999997,"mean":1306.8558225390725,"min":744.156134,"p50":744.156134,"p75":2332.1615039999997,"p95":2332.1615039999997,"p98":2332.1615039999997,"p99":2332.1615039999997,"p999":2332.1615039999997,"stddev":759.5651305947406,"m15_rate":0.0,"m1_rate":0.0,"m5_rate":0.0,"mean_rate":0.0,"duration_units":"milliseconds","rate_units":"calls/millisecond"},"memory.pools.CodeHeap-'profiled-nmethods'.max":122912768,"memory.pools.G1-Survivor-Space.committed":10485760,"webauthor.http_conn_pool_available":4,"ce-room-lifetimeMsec":{"count":0,"max":0,"mean":0.0,"min":0,"p50":0.0,"p75":0.0,"p95":0.0,"p98":0.0,"p99":0.0,"p999":0.0,"stddev":0.0},"memory.pools.G1-Eden-Space.init":8388608,"memory.pools.G1-Survivor-Space.used":9437184,"memory.heap.init":130023424,"validation-delay":{"count":2,"max":3.8944639999999997,"mean":1.389256156999983,"min":0.055002999999999996,"p50":0.055002999999999996,"p75":3.8944639999999997,"p95":3.8944639999999997,"p98":3.8944639999999997,"p99":3.8944639999999997,"p999":3.8944639999999997,"stddev":1.8282728115529943,"m15_rate":0.0,"m1_rate":0.0,"m5_rate":0.0,"mean_rate":0.0,"duration_units":"milliseconds","rate_units":"calls/millisecond"},"memory.pools.G1-Old-Gen.used-after-gc":80396800,"memory.pools.CodeHeap-'non-nmethods'.used":1437824,"webauthor.validator_cache_miss":3,"ce-room-operations-registry-size":{"count":0,"max":0,"mean":0.0,"min":0,"p50":0.0,"p75":0.0,"p95":0.0,"p98":0.0,"p99":0.0,"p999":0.0,"stddev":0.0},"memory.pools.G1-Eden-Space.committed":190840832,"classes.unloaded":0,"memory.pools.Compressed-Class-Space.usage":0.009668506681919098,"gc.G1-Old-Generation.time":0,"ce-tc-keeper-size":{"count":0,"max":0,"mean":0.0,"min":0,"p50":0.0,"p75":0.0,"p95":0.0,"p98":0.0,"p99":0.0,"p999":0.0,"stddev":0.0},"threads.runnable.count":7,"ce-room-joinDurationMsec":{"count":0,"max":0,"mean":0.0,"min":0,"p50":0.0,"p75":0.0,"p95":0.0,"p98":0.0,"p99":0.0,"p999":0.0,"stddev":0.0},"memory.pools.CodeHeap-'non-profiled-nmethods'.init":2555904,"memory.pools.G1-Old-Gen.init":121634816,"gc.G1-Young-Generation.time":451,"errors-rate-doc-load":{"count":2,"m15_rate":0.0,"m1_rate":0.0,"m5_rate":0.0,"mean_rate":0.0,"units":"events/millisecond"},"duration-doc-load":{"count":5,"max":3113.260395,"mean":408.65900063588595,"min":265.283557,"p50":265.283557,"p75":558.620557,"p95":558.620557,"p98":558.620557,"p99":558.620557,"p999":558.620557,"stddev":146.6870589677382,"m15_rate":0.0,"m1_rate":0.0,"m5_rate":0.0,"mean_rate":0.0,"duration_units":"milliseconds","rate_units":"calls/millisecond"},"validation.queue_size":0,"memory.pools.CodeHeap-'non-nmethods'.init":2555904,"ce-room-syncDurationMsec":{"count":0,"max":0,"mean":0.0,"min":0,"p50":0.0,"p75":0.0,"p95":0.0,"p98":0.0,"p99":0.0,"p999":0.0,"stddev":0.0},"memory.pools.G1-Old-Gen.usage":0.029851913452148438,"threads.count":34,"memory.pools.G1-Survivor-Space.init":0,"websockets":0,"memory.pools.CodeHeap-'non-nmethods'.committed":2555904,"timestamp":1698131264004,"memory.pools.G1-Old-Gen.used":96159744,"threads.blocked.count":0,"threads.deadlock.count":0,"ce-document-length":{"count":0,"max":0,"mean":0.0,"min":0,"p50":0.0,"p75":0.0,"p95":0.0,"p98":0.0,"p99":0.0,"p999":0.0,"stddev":0.0},"memory.pools.CodeHeap-'profiled-nmethods'.used":23724288,"memory.pools.G1-Survivor-Space.usage":0.9,"errors.percentage.others":0.2999628013860542,"memory.pools.Metaspace.usage":0.9933912071133973,"webauthor.validator_cache_avg_load_time_ms":712,"memory.pools.Metaspace.committed":90374144,"ce-room-totalPeers":{"count":0,"max":0,"mean":0.0,"min":0,"p50":0.0,"p75":0.0,"p95":0.0,"p98":0.0,"p99":0.0,"p999":0.0,"stddev":0.0},"memory.pools.G1-Eden-Space.usage":0.8241758241758241,"threads.waiting.count":19,"ce-room-maxConcurrentPeers":{"count":0,"max":0,"mean":0.0,"min":0,"p50":0.0,"p75":0.0,"p95":0.0,"p98":0.0,"p99":0.0,"p999":0.0,"stddev":0.0},"memory.pools.Metaspace.used":89776880,"webauthor.validator_cache_req":4,"errors-rate-others":{"count":2,"m15_rate":0.0,"m1_rate":0.0,"m5_rate":0.0,"mean_rate":0.0,"units":"events/millisecond"},"gc.G1-Young-Generation.count":41,"memory.non-heap.committed":135921664,"memory.pools.CodeHeap-'non-profiled-nmethods'.used":6945536,"memory.total.init":137691136,"webauthor.http_conn_pool_pending":0,"memory.pools.CodeHeap-'profiled-nmethods'.usage":0.19301727872567315,"memory.pools.CodeHeap-'profiled-nmethods'.init":2555904,"document-count":{"count":1},"memory.pools.CodeHeap-'non-profiled-nmethods'.max":122916864,"memory.pools.Compressed-Class-Space.committed":10682368,"memory.pools.Metaspace.max":-1,"threads.timed_waiting.count":8,"users":2,"disk":19952058368,"memory.pools.G1-Old-Gen.committed":155189248,"memory.pools.G1-Survivor-Space.used-after-gc":9437184,"document-size-kb":{"count":3,"max":13,"mean":4.333333333333333,"min":0,"p50":0.0,"p75":13.0,"p95":13.0,"p98":13.0,"p99":13.0,"p999":13.0,"stddev":7.505553499465136},"memory.pools.CodeHeap-'profiled-nmethods'.committed":25362432,"ce-clist-size":{"count":0,"max":0,"mean":0.0,"min":0,"p50":0.0,"p75":0.0,"p95":0.0,"p98":0.0,"p99":0.0,"p999":0.0,"stddev":0.0},"threads.deadlocks":[],"memory.heap.committed":356515840,"memory.non-heap.max":-1,"threads.daemon.count":28,"memory.heap.usage":0.08160972595214844,"gc.G1-Old-Generation.count":0,"memory.pools.Compressed-Class-Space.init":0,"memory.non-heap.usage":-1.32266008E8,"memory.total.max":3221225471,"memory.heap.used":262883328,"duration-others":{"count":60,"max":1010.0980649999999,"mean":12.174745710226906,"min":1.41038,"p50":8.60084,"p75":19.772102999999998,"p95":28.058526999999998,"p98":30.805356,"p99":30.805356,"p999":30.805356,"stddev":10.154332309011576,"m15_rate":0.0,"m1_rate":0.0,"m5_rate":0.0,"mean_rate":0.0,"duration_units":"milliseconds","rate_units":"calls/millisecond"},"memory.pools.G1-Eden-Space.max":-1,"threads.terminated.count":0,"threads.new.count":0,"memory.pools.CodeHeap-'non-profiled-nmethods'.committed":6946816,"webauthor.http_conn_pool_leased":0,"memory.pools.G1-Eden-Space.used":157286400,"memory.pools.G1-Eden-Space.used-after-gc":0,"memory.pools.CodeHeap-'non-profiled-nmethods'.usage":0.0565059648772035,"memory.non-heap.used":132266008,"webauthor.http_conn_pool_max":4096,"classes.loaded":13607,"memory.pools.G1-Old-Gen.max":3221225472,"memory.pools.G1-Survivor-Space.max":-1,"ce-clist-to-doc-length-percentage":{"count":0,"max":0,"mean":0.0,"min":0,"p50":0.0,"p75":0.0,"p95":0.0,"p98":0.0,"p99":0.0,"p999":0.0,"stddev":0.0},"memory.total.committed":492437504}
cosminef
Site Admin
Posts: 79
Joined: Wed Aug 30, 2023 2:33 pm

Re: How to set up custom DTD in content fusion

Post by cosminef »

Hello

Additionally, please upload your framework in this form [1] so that we can analyze it and provide you with a tailored solution.

[1] https://www.oxygenxml.com/techSupport.html

Best Regards,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
Post Reply