if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
Imported graphic entities in local subset when saving in XMetaL
Pages:
1
« previous
next »
Print
Author
Topic: Imported graphic entities in local subset when saving in XMetaL (Read 1422 times)
duboisy
Member
Posts: 5
Imported graphic entities in local subset when saving in XMetaL
«
on:
October 28, 2010, 03:04:42 PM »
Hi All,
Does anyone know how we can stop XMetaL from importing graphic entities in the local subset when saving an XML file?
Example:
Before saving in XMetaL
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Section1 PUBLIC "-//IATA DGR 2009//DTD IATATechDGR XML V2.1//EN" "P:\PRD\Rules2.1\DGR\iatatechDGR.dtd" [
<!ENTITY % DGR-epub-en "INCLUDE">
]>
After saving in XMetaL
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Section1 PUBLIC "-//IATA DGR 2009//DTD IATATechDGR XML V2.1//EN" "P:\PRD\Rules2.1\DGR\iatatechDGR.dtd" [
<!ENTITY % DGR-epub-en "INCLUDE">
<!ENTITY dgr-08waybill01 SYSTEM "p:\dgr\ref.Images\dgr-n-08waybill01-a.jpg" NDATA JPG>
<!ENTITY dgr-08waybill02 SYSTEM "p:\dgr\ref.Images\dgr-n-08waybill02-a.jpg" NDATA JPG>
...
]>...
All our graphic entities are declared in external entity files which makes the re-declaration of these in the local subset redundant and it affects portability.
This happens in XMetaL Author 4.5, 5.5 and 6.0
We did search this forum, the configuration guide and the programmer's guide but to no avail.
Any help is greatly appreciated
Yvon
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1546
Re: Imported graphic entities in local subset when saving in XMetaL
«
Reply #1 on:
October 28, 2010, 03:17:19 PM »
I'm not aware of this issue. Can you submit some files that demonstrate the issue? If you prefer not to post things here please send them through the standard support channel after opening a support case.
Logged
duboisy
Member
Posts: 5
Re: Imported graphic entities in local subset when saving in XMetaL
«
Reply #2 on:
October 29, 2010, 10:31:43 AM »
Hi Derek,
I took the time to create a minimalist version of our environment to see if I could find a solution but to no avail. Since this is an issue other developers might experience, I prefer to continue this thread.
The attached zip file must be unzipped with the folder structure, the local environment uses relative paths.
In the XML-Dev folder, we find the file dgr-8-en.xml which refers to images through its MediaObject/@src element/attribute. Open this file in XMetaL (I used 4.5), add some text and save the file. All graphic entities declarations are now imported in the DTD subset, immediately after our language switch <!ENTITY % DGR-epub-en "INCLUDE">.
Yvon
Environment2TestGraphicEntities.zip
(106.63 KB - downloaded 67 times.)
Logged
duboisy
Member
Posts: 5
Re: Imported graphic entities in local subset when saving in XMetaL
«
Reply #3 on:
December 07, 2010, 01:42:26 PM »
Hi All,
Although this thread has been quiet for a while, the example package was downloaded ten times. It would be very interesting to know if there are different results (with different versions or environment)
Hi Derek,
Any update on your end on this issue? If not, should I open a support case?
Thanks
Yvon
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1546
Re: Imported graphic entities in local subset when saving in XMetaL
«
Reply #4 on:
December 08, 2010, 12:30:56 PM »
We can reproduce what you are seeing, but the number of options to try to work around this might be many.
I think it is best that we try to iron this out through email (and then maybe post what you ultimately do here later).
Logged
duboisy
Member
Posts: 5
Re: Imported graphic entities in local subset when saving in XMetaL
«
Reply #5 on:
December 08, 2010, 01:29:12 PM »
Thanks Derek, sounds good to me.
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...
email us