Commit 539728a9 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2005-03-04 14:39:28 by afrisch] doc

Original author: afrisch
Date: 2005-03-04 14:39:28+00:00
parent 7fbd2315
...@@ -23,7 +23,7 @@ Since 0.2.2 ...@@ -23,7 +23,7 @@ Since 0.2.2
- Tools: - Tools:
* A new tool cduce_mktop produce customized CDuce toplevels with embedded * A new tool cduce_mktop produce customized CDuce toplevels with embedded
OCaml externals. OCaml externals.
* validate renamed to cduce_validate * Removed the validate tool.
- Implementation: - Implementation:
* Various bug fixes * Various bug fixes
......
include Makefile.conf include Makefile.conf
VERSION = 0.2.3b1 VERSION = 0.2.3b1
all: cduce dtd2cduce cduce_validate cdo2ml mlcduce_wrapper cduce_lib.cma all: cduce dtd2cduce cdo2ml mlcduce_wrapper cduce_lib.cma
ifeq ($(NATIVE),true) ifeq ($(NATIVE),true)
all: cduce_lib.cmxa all: cduce_lib.cmxa
endif endif
...@@ -87,7 +87,7 @@ install_bin: ...@@ -87,7 +87,7 @@ install_bin:
@echo "Install binaries" @echo "Install binaries"
$(HIDE)mkdir -p $(BINDIR) $(HIDE)mkdir -p $(BINDIR)
$(HIDE)$(INSTALL) -m755 cduce$(EXE) dtd2cduce$(EXE) \ $(HIDE)$(INSTALL) -m755 cduce$(EXE) dtd2cduce$(EXE) \
cduce_validate$(EXE) cdo2ml$(EXE) \ cdo2ml$(EXE) \
mlcduce_wrapper$(EXE) \ mlcduce_wrapper$(EXE) \
cduce_mktop $(BINDIR)/ cduce_mktop $(BINDIR)/
...@@ -102,10 +102,10 @@ install_lib: ...@@ -102,10 +102,10 @@ install_lib:
uninstall: uninstall:
rm -f $(BINDIR)/cduce$(EXE) $(BINDIR)/dtd2cduce$(EXE) \ rm -f $(BINDIR)/cduce$(EXE) $(BINDIR)/dtd2cduce$(EXE) \
$(BINDIR)/cduce_validate$(EXE) $(BINDIR)/cdo2ml$(EXE) \ $(BINDIR)/cdo2ml$(EXE) \
$(BINDIR)/mlcduce_wrapper$(EXE) $(BINDIR)/cduce_mktop $(BINDIR)/mlcduce_wrapper$(EXE) $(BINDIR)/cduce_mktop
rm -f $(MANDIR)/man1/cduce.1 $(MANDIR)/man1/dtd2cduce.1 \ rm -f $(MANDIR)/man1/cduce.1 $(MANDIR)/man1/dtd2cduce.1 \
$(MANDIR)/man1/cduce_validate.1 $(MANDIR)/man1/cdo2ml.1 $(MANDIR)/man1/cdo2ml.1
rm -Rf $(DOCDIR) rm -Rf $(DOCDIR)
ocamlfind remove cduce ocamlfind remove cduce
...@@ -113,7 +113,6 @@ help: ...@@ -113,7 +113,6 @@ help:
@echo "GOALS" @echo "GOALS"
@echo " cduce : compiles the CDuce command line interpreter" @echo " cduce : compiles the CDuce command line interpreter"
@echo " dtd2cduce : compiles the dtd2cduce tools" @echo " dtd2cduce : compiles the dtd2cduce tools"
@echo " cduce_validate : compiles the schema validation tool"
@echo " doc : build the documentation" @echo " doc : build the documentation"
@echo " all : build binaries and libraries" @echo " all : build binaries and libraries"
@echo " install : install binaries, man pages, documentation" @echo " install : install binaries, man pages, documentation"
......
...@@ -249,12 +249,6 @@ You can quit the toplevel with the toplevel directive ...@@ -249,12 +249,6 @@ You can quit the toplevel with the toplevel directive
The toplevel directive <code>#help</code> prints an help message about The toplevel directive <code>#help</code> prints an help message about
the available toplevel directives. the available toplevel directives.
</p> </p>
<p>
The toplevel directive <code>#dump_value</code> dump an XML-like
representation of the internal CDuce representation of the resulting
value of an expression. It should not be considered a normative
representation for CDuce values.
</p>
<p> <p>
The toplevel directive <code>#env</code> prints the current The toplevel directive <code>#env</code> prints the current
...@@ -278,14 +272,8 @@ values and types with namespaces (see <local href="namespaces"/>). ...@@ -278,14 +272,8 @@ values and types with namespaces (see <local href="namespaces"/>).
<p> <p>
The toplevel directive <code>#print_type</code> shows a representationo of a The toplevel directive <code>#print_type</code> shows a representationo of a
CDuce type including types imported from <local href="manual_schema">XML CDuce type (including types imported from <local href="manual_schema">XML
Schema</local> documents. Schema</local> documents).
</p>
<p>
The toplevel directive <code>#print_schema</code> shows the <local
href="manual_schema">XML Schema</local> components contained in a given
schema.
</p> </p>
<p> <p>
......
...@@ -237,7 +237,7 @@ let is_valid_mail (Any -> Bool) ...@@ -237,7 +237,7 @@ let is_valid_mail (Any -> Bool)
</tr> </tr>
<tr> <tr>
<td> <td>
<code>decimal</code>,<code>float</code>,</code>double</code> <code>decimal</code>,<code>float</code>,<code>double</code>
</td> </td>
<td> <td>
<code>Float</code> <code>Float</code>
...@@ -348,7 +348,7 @@ let is_valid_mail (Any -> Bool) ...@@ -348,7 +348,7 @@ let is_valid_mail (Any -> Bool)
where the element content is not a sequente, but a single record: where the element content is not a sequente, but a single record:
</p> </p>
<sample><![CDATA[ <sample><![CDATA[
# #print_type Mails # Date;; # #print_type Mails.Date;;
<Date {| |}>{ <Date {| |}>{
positive = Bool; positive = Bool;
year = Int; month = Int; day = Int; hour = Int; year = Int; month = Int; day = Int; hour = Int;
...@@ -357,7 +357,7 @@ let is_valid_mail (Any -> Bool) ...@@ -357,7 +357,7 @@ let is_valid_mail (Any -> Bool)
} }
]]></sample> ]]></sample>
<p>XML Schema wildcards (<tt>xsd:any</tt>) <p>XML Schema wildcards (<tt>xsd:any</tt>)
and nullable elements (<tt>xsi:nil</tt) are supported.</p> and nullable elements (<tt>xsi:nil</tt>) are supported.</p>
</li> </li>
<li> <li>
<p> <p>
...@@ -596,7 +596,7 @@ val xml : Any = <ignored_tag From="fake@microsoft.com">[ ...@@ -596,7 +596,7 @@ val xml : Any = <ignored_tag From="fake@microsoft.com">[
val record : {| name = [ 'User-Agent' ]; added_by = [ 'mutt' ] |} val record : {| name = [ 'User-Agent' ]; added_by = [ 'mutt' ] |}
= =
{ name="User-Agent"; added_by="mutt" } { name="User-Agent"; added_by="mutt" }
# validate record with Mails # name ;; # validate record with Mails.name ;;
- : { name = String } = { name="User-Agent"; added_by="mutt" } - : { name = String } = { name="User-Agent"; added_by="mutt" }
]]></sample> ]]></sample>
</li> </li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment