Parent Directory | Revision Log
++ manakai/bin/ChangeLog 10 Sep 2006 11:09:00 -0000 2006-09-10 Wakaba <wakaba@suika.fam.cx> * daf.pl (--dtd-suffix, --create-dtd-driver): New options for DTD driver support. ++ manakai/lib/Message/Markup/ChangeLog 10 Sep 2006 11:12:09 -0000 2006-09-10 Wakaba <wakaba@suika.fam.cx> * Atom.dis (Atom): The |mv:systemIdentifierBaseURI| property is set. It is an empty value to allow to move DTD modules without modification. (Atom10): New DTD driver for ordinary Atom 1.0 documents. (AtomNameElement, AtomUriElement, AtomEmailElement): References for |Atom| module are added for |%ATOM.xmlns.attrib;| references in the |ATTLIST| declarations. (AtomContentElement): Content attribute definitions for |type| and |src| attributes are added. * Makefile (atom): Generate |Atom10| DTD driver. ++ manakai/lib/Message/Markup/XML/ChangeLog 10 Sep 2006 11:13:04 -0000 2006-09-10 Wakaba <wakaba@suika.fam.cx> * Parser.pm: Comment out Unicode comparibility character checking clause since |\p{Compat}| regexp set is not supported in the current version of perl. ++ manakai/lib/manakai/ChangeLog 10 Sep 2006 11:19:19 -0000 2006-09-10 Wakaba <wakaba@suika.fam.cx> * DISMarkup.dis (mv:systemIdentifierBaseURI): New property. (mv:XMLDTDAnyModule, mv:XMLDTDDriver): New resource types. * daf-dtd-modules.pl (daf_dtd_modules): Its main part is split into another function named |daf_dm_create_module_file|. (daf_dtd_driver): New function for DTD driver support. (daf_dm_create_module_file): New function. (daf_dm_dtd_driver_content): New function. (daf_dm_qname_module_content): What declarations are generated is changed so that generated DTD modules are more resemble to HTML WG's ones. (daf_dm_register_all_components): New function. (daf_dm_get_module_group): New function. (daf_dm_get_entity_name): Support for DTD drivers is added. Use uppercase'ized name for DTD module sets (to align with HTML WG's DTD modules).
1 | MANAKAI_ROOT_DIR = ../../../ |
2 | MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/ |
3 | MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ |
4 | |
5 | DIS_SUFFIX = .dis |
6 | DAEM_SUFFIX = .dafm |
7 | DAFX_SUFFIX = .dafx |
8 | PM_SUFFIX = .pm |
9 | |
10 | CD = cd |
11 | MAKE = make |
12 | RM = rm |
13 | RMALL = $(RM) -fv |
14 | PERL = perl |
15 | PERL_OPTIONS = |
16 | PERL_OPTIONS_ALL = $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR) |
17 | PERL_ = $(PERL) $(PERL_OPTIONS_ALL) |
18 | PERLC = $(PERL) -c -w |
19 | PERLC_OPTIONS = |
20 | PERLC_OPTIONS_ALL = $(PERLC_OPTIONS) -I$(MANAKAI_LIB_DIR) |
21 | PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL) |
22 | |
23 | NS_ATOM = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup/Atom/ |
24 | NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\# |
25 | NS_MARKUP = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\# |
26 | |
27 | DIS_OPTIONS = |
28 | DIS_OPTIONS_ALL = $(DIS_OPTIONS) \ |
29 | --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \ |
30 | --dis-file-suffix="$(DIS_SUFFIX)" \ |
31 | --daem-file-suffix="$(DAEM_SUFFIX)" \ |
32 | --dafx-file-suffix="$(DAFX_SUFFIX)" |
33 | |
34 | DAF_OPTIONS = |
35 | DAF_PL = $(MANAKAI_BIN_DIR)daf.pl |
36 | DAF = $(PERL_) $(DAF_PL) $(DAF_OPTIONS) $(DIS_OPTIONS_ALL) |
37 | |
38 | DIS_FILES = \ |
39 | SuikaWikiConfig21$(DIS_SUFFIX) \ |
40 | Atom$(DIS_SUFFIX) \ |
41 | SuikaWiki$(DIS_SUFFIX) \ |
42 | H2H$(DIS_SUFFIX) |
43 | ADDITIONAL_DIS_FILES = common$(DIS_SUFFIX) |
44 | |
45 | PM_FILES = $(DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX)) |
46 | |
47 | GENERATED_FILES = $(PM_FILES) |
48 | |
49 | all: $(GENERATED_FILES) |
50 | |
51 | $(PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL) |
52 | $(DAF) --create-perl-module="$(NS_MARKUP)$* $@" |
53 | $(PERL_CHK) $@ |
54 | |
55 | ## temporary |
56 | atom: $(DAF_PL) |
57 | $(DAF) \ |
58 | --load-module="$(NS_MARKUP)Atom" \ |
59 | --create-dtd-modules="$(NS_ATOM)Atom . $(NS_MANAKAIDOM)ManakaiDOMLatest" \ |
60 | --create-dtd-driver="$(NS_ATOM)Atom10 . $(NS_MANAKAIDOM)ManakaiDOMLatest" |
61 | |
62 | clean: |
63 | $(RMALL) $(GENERATED_FILES) .*.tmp *~ .*~ |
64 | |
65 | clean-db: |
66 | $(RMALL) *$(DAEM_SUFFIX) *$(DAFX_SUFFIX) |
67 | |
68 | distclean: clean clean-db |
69 | |
70 | ## $Date: 2006/05/19 11:02:11 $ |
71 | ## License: Public Domain. |
admin@suikawiki.org | ViewVC Help |
Powered by ViewVC 1.1.24 |