XML validation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@300841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2011-01-06 17:50:57 +00:00
parent 473e176df8
commit a58b2fb395
2 changed files with 5 additions and 3 deletions

View File

@@ -205,6 +205,7 @@ ifeq ($(findstring -Wall,$(_ASTCFLAGS) $(ASTCFLAGS)),)
endif endif
_ASTCFLAGS+=-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG) _ASTCFLAGS+=-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG)
ADDL_TARGETS=
ifeq ($(AST_DEVMODE),yes) ifeq ($(AST_DEVMODE),yes)
_ASTCFLAGS+=-Werror _ASTCFLAGS+=-Werror
@@ -214,6 +215,7 @@ ifeq ($(AST_DEVMODE),yes)
_ASTCFLAGS+=-Wundef _ASTCFLAGS+=-Wundef
_ASTCFLAGS+=-Wmissing-format-attribute _ASTCFLAGS+=-Wmissing-format-attribute
_ASTCFLAGS+=-Wformat=2 _ASTCFLAGS+=-Wformat=2
ADDL_TARGETS+=validate-docs
endif endif
ifneq ($(findstring BSD,$(OSARCH)),) ifneq ($(findstring BSD,$(OSARCH)),)
@@ -336,7 +338,7 @@ all: _all
@echo " + $(mK) install +" @echo " + $(mK) install +"
@echo " +-------------------------------------------+" @echo " +-------------------------------------------+"
_all: cleantest makeopts $(SUBDIRS) doc/core-en_US.xml _all: cleantest makeopts $(SUBDIRS) doc/core-en_US.xml $(ADDL_TARGETS)
makeopts: configure makeopts: configure
@echo "****" @echo "****"

View File

@@ -71,7 +71,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
</function> </function>
<function name="CURLOPT" language="en_US"> <function name="CURLOPT" language="en_US">
<synopsis> <synopsis>
Sets various options for future invocations of <literal>CURL</literal>. Sets various options for future invocations of CURL.
</synopsis> </synopsis>
<syntax> <syntax>
<parameter name="key" required="yes"> <parameter name="key" required="yes">
@@ -146,7 +146,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
<enum name="yes" /> <enum name="yes" />
<enum name="no" /> <enum name="no" />
<enum name="legacy"> <enum name="legacy">
<para>Also translate <literal>+<literal> to the <para>Also translate <literal>+</literal> to the
space character, in violation of current RFC space character, in violation of current RFC
standards.</para> standards.</para>
</enum> </enum>