Issue Details (XML | Word | Printable)

Key: ZF-7662
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Thomas Weidner
Reporter: Dan Entous
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

Zend_Locale_Data - Missing ldml.dtd and ldmlSupplemental.dtd

Created: 22/Aug/09 06:28 PM   Updated: 07/Jan/10 04:34 AM   Resolved: 23/Aug/09 01:30 AM
Component/s: Zend_Locale
Affects Version/s: 1.9.1
Fix Version/s: 1.9.2

Time Tracking:
Not Specified


 Description  « Hide

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 ldml.dtd or 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?



Thomas Weidner added a comment - 23/Aug/09 01:29 AM

Nope...

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).


Rick Schmitty added a comment - 07/Jan/10 03:36 AM

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?

http://unicode.org/cldr/dtd/


Dan Entous added a comment - 07/Jan/10 04:30 AM

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.

/Zend/common/

ldml.dtd 68K (http://unicode.org/cldr/dtd/1.7/ldml.dtd)
ldmlSupplemental.dtd 24K (http://unicode.org/cldr/dtd/1.7/ldmlSupplemental.dtd)

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


Dan Entous added a comment - 07/Jan/10 04:34 AM

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