ZF-7662: Zend_Locale_Data - Missing ldml.dtd and ldmlSupplemental.dtd

Issue Type: Improvement Created: 2009-08-22T18:28:45.000+0000 Last Updated: 2010-01-07T04:34:45.000+0000 Status: Resolved Fix version(s): - 1.9.2 (25/Aug/09)

Reporter: Dan Entous (dan_nl) Assignee: Thomas Weidner (thomas) Tags: - Zend_Locale

Related issues: Attachments:


I noticed that when Eclipse finished validating the /library/Zend folder it had several warnings for the /library/Zend/Locale/Data folder. I looked a bit further and found that the xml DOCTYPE references are all referring to a folder and files that didn't exist in the full 1.9.1 (may apply to other versions as well) release I downloaded ... /../common/dtd/ and then to either" rel="nofollow">ldml.dtd or" rel="nofollow">ldmlSupplemental.dtd.

Would it make sense to include the dtd files with the distribution in /library/Zend/common/dtd/ or change the xml DOCTYPE reference to the dtd urls?


Posted by Thomas Weidner (thomas) on 2009-08-23T01:29:28.000+0000


The dtd files are too large to be integrated and they are not needed for proper working.

Additionally we are not allowed to change the source files which we are distributing (except stripping comments).

Posted by Rick Schmitty (rschmitty) on 2010-01-07T03:36:55.000+0000

What is the proper work around for getting those files in then?

Surely you don't leave eclipse with 475 warnings by default leaving you to sift through them when a warning you care about comes up

I tried adding the 1.7.2 dtd files but they errored, which version is zend basing the local off of?

Posted by Dan Entous (dan_nl) on 2010-01-07T04:30:46.000+0000

In my developer environment I ended up adding a folder for the dtd's at the root level of the Zend folder and added the dtd files; Eclipse no longer displayed the warnings.


ldml.dtd 68K ( ldmlSupplemental.dtd 24K (…)

BTW: Before copying the dtd's from I had to make sure FF was set to utf-8 character encoding. For some reason the server was not serving the dtd's as utf-8 but as iso-8859-1.

Posted by Dan Entous (dan_nl) on 2010-01-07T04:34:45.000+0000

... no changes to the /Zend/Locale/Data/ XML files.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.