Commit Graph

40 Commits

Author SHA1 Message Date
Zane U. Ji 3993927d66 Fixed a problem when dealing with "xsi:schemaLocation" 2014-06-02 20:09:16 +08:00
Zane U. Ji c61ceec6d0 Catch more exceptions 2014-06-01 23:28:41 +08:00
Zane U. Ji 87eac6e5aa Don't miss entity declarations when generate auto complete prompt 2014-04-27 22:07:35 +08:00
Zane U. Ji 51b1bd3829 Worked around file URL problems
wxFileSystem::FileNameToURL http://trac.wxwidgets.org/ticket/16209
Both wxWidgets (<= 2.8.12) and Xerces-C++ have problems parsing file URLs when there are multi-byte characters
2014-04-27 20:35:09 +08:00
Zane U. Ji fa5e760c82 Resolve DTDs explicitly before loading them 2014-04-24 22:47:21 +08:00
Zane U. Ji 7e7c756c60 Made UI more responsive 2014-04-24 20:14:29 +08:00
Zane U. Ji 00d8e7783f Supported auto complete list for DTDs that are on the internet 2014-04-22 22:33:21 +08:00
Zane U. Ji 8216a56d1e Improved encoding handling 2014-04-13 23:16:04 +08:00
Zane U. Ji 13b5bb6a87 Cleaned up code using CppCheck 2013-11-13 00:30:07 +08:00
Zane U. Ji c0db1726e9 Improved catalog resolving 2013-10-26 21:15:42 +08:00
Zane U. Ji 5310603467 Fixed Unicode problems 2013-10-25 19:23:34 +08:00
Zane U. Ji 672bbce65d Fixed crashes in Xerces-C by using wide file names
Xerces-C crashes when a file name is NULL. If the locale is wrong, wxString::mb_str returns NULL.

Wide file names also enables opening a file with any characters in its name on Windows. Since there is no wide file names on POSIX, it doesn't make much difference except that the program is more stable.
2013-10-19 08:44:17 +08:00
Zane U. Ji e366b6ec48 Fixed an encoding problem of file paths in prompt generator 2013-10-17 01:28:39 +08:00
Zane U. Ji 1c45b64afe Bug #3570564 crash when there is a complexType has attribute "mixed" in a XSD 2012-09-24 22:05:20 +08:00
Zane U. Ji b4aa69c2ca Made XercesCatalogResolver work. Don't load catalog over and over again. It isn't thread-safe according to the document.
Fixed a compiling problem with wxWidgets 2.9
2012-08-30 22:37:01 +08:00
Zane U. Ji 8df6cd065b Fixed a few memory leaks 2012-08-27 20:25:08 +08:00
Zane U. Ji 807a96c1a0 Fixed compiling problem with wxWidgets 2.8.12 2012-08-18 23:41:27 +08:00
Zane U. Ji 7bad0039c5 Supported element substitution in XML schema 2012-08-17 01:49:57 +08:00
Zane U. Ji 3caf99e454 Fixed problem when compiling with GCC 4.7 2012-08-13 21:22:22 +08:00
Zane U. Ji 9b2563595c Fixed a type name 2012-08-11 17:12:28 +08:00
Zane U. Ji 8815f65903 Don't free an internal object of Xerces-C++ (Bug #2900921) 2012-08-11 13:32:20 +08:00
Zane U. Ji 6d6ade623e Don't initialize/terminate Xerces-C++ over and over again. It leads to crash when several files are opened on startup. This could be the root cause of some startup crashes, e.g. bug #2787738 and bug #2825812. 2012-08-11 07:50:42 +08:00
Zane U. Ji 9a3a9c6280 Don't use XMLString::transcode to convert a name to native code-page Return constant references rather than objects 2012-08-10 21:34:13 +08:00
Zane U. Ji 16b9efaf3d Fixed required attributes list 2012-08-06 23:27:22 +08:00
Zane U. Ji 0b1dcb4729 Fixed structure prompt of a DTD element 2012-08-06 20:21:10 +08:00
Zane U. Ji 865701cf62 Bug #2173060 bug with element with underscore in schemas 2012-08-06 19:50:48 +08:00
Zane U. Ji 4527ffba1b Bug #2812686 Attribute values from DTD are separated at underscore 2012-08-03 22:41:01 +08:00
Zane U. Ji 2b826f1b59 Show all attributes defined by the schema in prompt window 2012-08-02 21:24:47 +08:00
Gerald Schmidt e3a5c7abeb Updated for 1.2.0.7 development 2009-12-01 13:33:22 +00:00
Gerald Schmidt b5f97f4b53 Updated for 1.2.0.6 2009-11-06 17:06:12 +00:00
Gerald Schmidt 0d77b3b0c7 Updated for 1.2.0.3 2009-01-17 22:52:54 +00:00
Gerald Schmidt 9ef9fd5dea Added XSD element inspection 2008-01-21 23:06:36 +00:00
Gerald Schmidt 1b7113b862 Removed old XML schema parsing hook. 2008-01-06 22:15:50 +00:00
Gerald Schmidt 4c4536cdb4 Enabled XML Schema-based insertion helpers and validation-as-you-type. 2008-01-06 22:14:06 +00:00
Justin Dearing d3efe4d1e5 Added the GPL Copyright notice to all cpp and h files. 2007-09-11 23:14:06 +00:00
Gerald Schmidt 3e8b9aef57 Code cleanup. 2007-09-07 22:25:30 +00:00
Gerald Schmidt 74a1e4b5e1 Fixed incorrect permissions. 2007-09-07 21:17:30 +00:00
Gerald Schmidt 94ffbbb38f Fixed incorrect permissions in root directory. 2007-09-07 21:12:03 +00:00
Gerald Schmidt 7c51e240a1 EOL conversion 2007-08-29 23:12:56 +00:00
Gerald Schmidt 6f0084a039 Initial import based on XML Copy Editor 1.1.0.1 (Linux) 2007-08-16 21:41:56 +00:00