How to generate haxe doc xml ?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to generate haxe doc xml ?

Fei Yin
I want to make a new project to translate haxe document to Chinese and write more infomation in it , using docbook . So I plan to change haxedoc to output docbook xml instead html.

But when I output the haxe doc xml file , I can't find anyway to output it .

There is no All.hx anymore . and I write a Cpp.hx , import all classes in cpp package . the I try to output a cpp.xml file . but haxe give me a error .

$ haxe -xml cpp.xml Cpp.hx -cpp foo --no-output
/usr/lib/haxe/std/cpp/vm/Deque.hx:46: characters 0-62 : Unexpected You_need_to_define_HXCPP_MULTI_THREADED_to_use_the_Deque_class

Could anybody can tell me how to output all haxe classes doc xml file ? Is there any All.hx file works ?

--
Yin Fei
From Icebirds.net


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: How to generate haxe doc xml ?

Fei Yin
I find http://code.google.com/p/haxe/source/browse/tags/v2-07/doc/ImportAll.hx file and http://code.google.com/p/haxe/source/browse/tags/v2-07/doc/all.hxml, But when I run haxe all.hxml, it still show lots of errors.

/usr/lib/haxe/std/haxe/Serializer.hx:386: characters 29-32 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Unserializer.hx:177: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Unserializer.hx:126: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:298: characters 67-70 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:307: characters 14-17 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:420: characters 15-23 : { length : Int } should be String
/usr/lib/haxe/std/haxe/Http.hx:420: characters 15-23 : For function argument 'str'
/usr/lib/haxe/std/haxe/Http.hx:501: characters 15-18 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:516: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:583: characters 18-21 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:427: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/remoting/AsyncDebugConnection.hx:86: characters 99-102 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/remoting/AsyncDebugConnection.hx:87: characters 94-97 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Firebug.hx:89: characters 14-17 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/unit/TestRunner.hx:80: characters 41-44 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/rtti/HtmlEditor.hx:258: characters 31-34 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:231: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:235: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:218: characters 21-24 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:217: lines 217-219 : A return is missing here
/usr/lib/haxe/std/haxe/Template.hx:309: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:311: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:357: characters 12-15 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:360: characters 53-56 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/xml/Check.hx:166: characters 23-26 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/xml/Check.hx:165: characters 2-9 : A return is missing here
/usr/lib/haxe/std/haxe/macro/Context.hx:62: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ServerLoop.hx:146: characters 8-11 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ServerLoop.hx:222: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:47: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:58: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:138: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:137: characters 2-6 : A return is missing here
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:175: characters 11-12 : Void should be neko.net.ProxySettings
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:175: characters 11-12 : Void should be { port : Int, host : String, auth : { user : String, pass : String } }
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:177: characters 11-21 : Void should be neko.net.ProxySettings
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:177: characters 11-21 : Void should be { port : Int, host : String, auth : { user : String, pass : String } }
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:184: characters 10-25 : Void should be neko.net.ProxySettings
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:184: characters 10-25 : Void should be { port : Int, host : String, auth : { user : String, pass : String } }
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:187: characters 10-25 : Void should be neko.net.ProxySettings
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:187: characters 10-25 : Void should be { port : Int, host : String, auth : { user : String, pass : String } }
/usr/lib/haxe/std/haxe/remoting/SocketConnection.hx:121: characters 13-16 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadRemotingServer.hx:64: characters 8-11 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/remoting/SocketConnection.hx:90: characters 13-16 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadRemotingServer.hx:111: characters 8-11 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadServer.hx:241: characters 17-20 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadServer.hx:119: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadServer.hx:172: characters 20-23 : Module Std does not define type Std
/usr/lib/haxe/std/neko/db/Transaction.hx:32: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/neko/db/Transaction.hx:39: characters 7-33 : Void should be Bool
/usr/lib/haxe/std/neko/db/Manager.hx:500: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/db/Mysql.hx:176: characters 16-19 : Module Std does not define type Std
/usr/lib/haxe/std/neko/db/Sqlite.hx:66: characters 15-18 : Module Std does not define type Std
/usr/lib/haxe/std/neko/Boot.hx:128: characters 33-36 : Module Std does not define type Std
/usr/lib/haxe/std/neko/Boot.hx:136: characters 28-31 : Module Std does not define type Std
/usr/lib/haxe/std/neko/Boot.hx:130: lines 130-135 : A return is missing here
/usr/lib/haxe/std/neko/Web.hx:66: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/zip/Compress.hx:40: characters 28-31 : Module Std does not define type Std
/usr/lib/haxe/std/neko/zip/Uncompress.hx:40: characters 28-31 : Module Std does not define type Std
/usr/lib/haxe/std/List.hx:183: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/DateTools.hx:186: characters 13-16 : Module Std does not define type Std
/usr/lib/haxe/std/neko/_std/Hash.hx:69: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/neko/_std/Date.hx:65: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/neko/_std/Date.hx:64: lines 64-66 : Int should be Void
/usr/lib/haxe/std/neko/_std/EReg.hx:117: characters 38-41 : Module Std does not define type Std
/usr/lib/haxe/std/neko/_std/IntHash.hx:69: characters 9-12 : Module Std does not define type Std


On Tue, Sep 20, 2011 at 4:34 PM, Fei Yin <[hidden email]> wrote:
I want to make a new project to translate haxe document to Chinese and write more infomation in it , using docbook . So I plan to change haxedoc to output docbook xml instead html.

But when I output the haxe doc xml file , I can't find anyway to output it .

There is no All.hx anymore . and I write a Cpp.hx , import all classes in cpp package . the I try to output a cpp.xml file . but haxe give me a error .

$ haxe -xml cpp.xml Cpp.hx -cpp foo --no-output
/usr/lib/haxe/std/cpp/vm/Deque.hx:46: characters 0-62 : Unexpected You_need_to_define_HXCPP_MULTI_THREADED_to_use_the_Deque_class

Could anybody can tell me how to output all haxe classes doc xml file ? Is there any All.hx file works ?

--
Yin Fei
From Icebirds.net




--
Yin Fei
From Icebirds.net


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: How to generate haxe doc xml ?

Fei Yin
OK, I got the xmls , But there are still some problems .

$ haxedoc cpp.xml flash9.xml flash.xml js.xml neko.xml php.xml cross.xml -f haxe.macro.Ref
Called from ? line 1
Called from /usr/lib/haxe/std/tools/haxedoc/Main.hx line 136
Called from /usr/lib/haxe/std/tools/haxedoc/Main.hx line 37
Called from /usr/lib/haxe/std/haxe/rtti/XmlParser.hx line 86
Called from /usr/lib/haxe/std/haxe/rtti/XmlParser.hx line 260
Called from /usr/lib/haxe/std/haxe/rtti/XmlParser.hx line 227
Uncaught exception - Incompatibilities between haxe.macro.Ref in  and null


On Tue, Sep 20, 2011 at 5:02 PM, Fei Yin <[hidden email]> wrote:
I find http://code.google.com/p/haxe/source/browse/tags/v2-07/doc/ImportAll.hx file and http://code.google.com/p/haxe/source/browse/tags/v2-07/doc/all.hxml, But when I run haxe all.hxml, it still show lots of errors.

/usr/lib/haxe/std/haxe/Serializer.hx:386: characters 29-32 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Unserializer.hx:177: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Unserializer.hx:126: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:298: characters 67-70 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:307: characters 14-17 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:420: characters 15-23 : { length : Int } should be String
/usr/lib/haxe/std/haxe/Http.hx:420: characters 15-23 : For function argument 'str'
/usr/lib/haxe/std/haxe/Http.hx:501: characters 15-18 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:516: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:583: characters 18-21 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:427: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/remoting/AsyncDebugConnection.hx:86: characters 99-102 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/remoting/AsyncDebugConnection.hx:87: characters 94-97 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Firebug.hx:89: characters 14-17 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/unit/TestRunner.hx:80: characters 41-44 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/rtti/HtmlEditor.hx:258: characters 31-34 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:231: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:235: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:218: characters 21-24 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:217: lines 217-219 : A return is missing here
/usr/lib/haxe/std/haxe/Template.hx:309: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:311: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:357: characters 12-15 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:360: characters 53-56 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/xml/Check.hx:166: characters 23-26 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/xml/Check.hx:165: characters 2-9 : A return is missing here
/usr/lib/haxe/std/haxe/macro/Context.hx:62: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ServerLoop.hx:146: characters 8-11 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ServerLoop.hx:222: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:47: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:58: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:138: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:137: characters 2-6 : A return is missing here
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:175: characters 11-12 : Void should be neko.net.ProxySettings
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:175: characters 11-12 : Void should be { port : Int, host : String, auth : { user : String, pass : String } }
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:177: characters 11-21 : Void should be neko.net.ProxySettings
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:177: characters 11-21 : Void should be { port : Int, host : String, auth : { user : String, pass : String } }
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:184: characters 10-25 : Void should be neko.net.ProxySettings
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:184: characters 10-25 : Void should be { port : Int, host : String, auth : { user : String, pass : String } }
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:187: characters 10-25 : Void should be neko.net.ProxySettings
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:187: characters 10-25 : Void should be { port : Int, host : String, auth : { user : String, pass : String } }
/usr/lib/haxe/std/haxe/remoting/SocketConnection.hx:121: characters 13-16 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadRemotingServer.hx:64: characters 8-11 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/remoting/SocketConnection.hx:90: characters 13-16 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadRemotingServer.hx:111: characters 8-11 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadServer.hx:241: characters 17-20 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadServer.hx:119: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadServer.hx:172: characters 20-23 : Module Std does not define type Std
/usr/lib/haxe/std/neko/db/Transaction.hx:32: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/neko/db/Transaction.hx:39: characters 7-33 : Void should be Bool
/usr/lib/haxe/std/neko/db/Manager.hx:500: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/db/Mysql.hx:176: characters 16-19 : Module Std does not define type Std
/usr/lib/haxe/std/neko/db/Sqlite.hx:66: characters 15-18 : Module Std does not define type Std
/usr/lib/haxe/std/neko/Boot.hx:128: characters 33-36 : Module Std does not define type Std
/usr/lib/haxe/std/neko/Boot.hx:136: characters 28-31 : Module Std does not define type Std
/usr/lib/haxe/std/neko/Boot.hx:130: lines 130-135 : A return is missing here
/usr/lib/haxe/std/neko/Web.hx:66: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/zip/Compress.hx:40: characters 28-31 : Module Std does not define type Std
/usr/lib/haxe/std/neko/zip/Uncompress.hx:40: characters 28-31 : Module Std does not define type Std
/usr/lib/haxe/std/List.hx:183: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/DateTools.hx:186: characters 13-16 : Module Std does not define type Std
/usr/lib/haxe/std/neko/_std/Hash.hx:69: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/neko/_std/Date.hx:65: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/neko/_std/Date.hx:64: lines 64-66 : Int should be Void
/usr/lib/haxe/std/neko/_std/EReg.hx:117: characters 38-41 : Module Std does not define type Std
/usr/lib/haxe/std/neko/_std/IntHash.hx:69: characters 9-12 : Module Std does not define type Std


On Tue, Sep 20, 2011 at 4:34 PM, Fei Yin <[hidden email]> wrote:
I want to make a new project to translate haxe document to Chinese and write more infomation in it , using docbook . So I plan to change haxedoc to output docbook xml instead html.

But when I output the haxe doc xml file , I can't find anyway to output it .

There is no All.hx anymore . and I write a Cpp.hx , import all classes in cpp package . the I try to output a cpp.xml file . but haxe give me a error .

$ haxe -xml cpp.xml Cpp.hx -cpp foo --no-output
/usr/lib/haxe/std/cpp/vm/Deque.hx:46: characters 0-62 : Unexpected You_need_to_define_HXCPP_MULTI_THREADED_to_use_the_Deque_class

Could anybody can tell me how to output all haxe classes doc xml file ? Is there any All.hx file works ?

--
Yin Fei
From Icebirds.net




--
Yin Fei
From Icebirds.net




--
Yin Fei
>From Icebirds.net


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: How to generate haxe doc xml ?

Fei Yin
$ haxedoc cpp.xml;cpp neko.xml;neko
....<neko.xml file content>...
neko.xml:2016: error: unterminated comment
 }
NekoVM 1.8.1 (c)2005-2009 Motion-Twin
  Usage : neko <file>

It make me Crazy !~

On Tue, Sep 20, 2011 at 5:18 PM, Fei Yin <[hidden email]> wrote:
OK, I got the xmls , But there are still some problems .

$ haxedoc cpp.xml flash9.xml flash.xml js.xml neko.xml php.xml cross.xml -f haxe.macro.Ref
Called from ? line 1
Called from /usr/lib/haxe/std/tools/haxedoc/Main.hx line 136
Called from /usr/lib/haxe/std/tools/haxedoc/Main.hx line 37
Called from /usr/lib/haxe/std/haxe/rtti/XmlParser.hx line 86
Called from /usr/lib/haxe/std/haxe/rtti/XmlParser.hx line 260
Called from /usr/lib/haxe/std/haxe/rtti/XmlParser.hx line 227
Uncaught exception - Incompatibilities between haxe.macro.Ref in  and null



On Tue, Sep 20, 2011 at 5:02 PM, Fei Yin <[hidden email]> wrote:
I find http://code.google.com/p/haxe/source/browse/tags/v2-07/doc/ImportAll.hx file and http://code.google.com/p/haxe/source/browse/tags/v2-07/doc/all.hxml, But when I run haxe all.hxml, it still show lots of errors.

/usr/lib/haxe/std/haxe/Serializer.hx:386: characters 29-32 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Unserializer.hx:177: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Unserializer.hx:126: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:298: characters 67-70 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:307: characters 14-17 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:420: characters 15-23 : { length : Int } should be String
/usr/lib/haxe/std/haxe/Http.hx:420: characters 15-23 : For function argument 'str'
/usr/lib/haxe/std/haxe/Http.hx:501: characters 15-18 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:516: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:583: characters 18-21 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Http.hx:427: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/remoting/AsyncDebugConnection.hx:86: characters 99-102 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/remoting/AsyncDebugConnection.hx:87: characters 94-97 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Firebug.hx:89: characters 14-17 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/unit/TestRunner.hx:80: characters 41-44 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/rtti/HtmlEditor.hx:258: characters 31-34 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:231: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:235: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:218: characters 21-24 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:217: lines 217-219 : A return is missing here
/usr/lib/haxe/std/haxe/Template.hx:309: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:311: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:357: characters 12-15 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/Template.hx:360: characters 53-56 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/xml/Check.hx:166: characters 23-26 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/xml/Check.hx:165: characters 2-9 : A return is missing here
/usr/lib/haxe/std/haxe/macro/Context.hx:62: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ServerLoop.hx:146: characters 8-11 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ServerLoop.hx:222: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:47: characters 11-14 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:58: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:138: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:137: characters 2-6 : A return is missing here
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:175: characters 11-12 : Void should be neko.net.ProxySettings
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:175: characters 11-12 : Void should be { port : Int, host : String, auth : { user : String, pass : String } }
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:177: characters 11-21 : Void should be neko.net.ProxySettings
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:177: characters 11-21 : Void should be { port : Int, host : String, auth : { user : String, pass : String } }
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:184: characters 10-25 : Void should be neko.net.ProxySettings
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:184: characters 10-25 : Void should be { port : Int, host : String, auth : { user : String, pass : String } }
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:187: characters 10-25 : Void should be neko.net.ProxySettings
/usr/lib/haxe/std/neko/net/ProxyDetect.hx:187: characters 10-25 : Void should be { port : Int, host : String, auth : { user : String, pass : String } }
/usr/lib/haxe/std/haxe/remoting/SocketConnection.hx:121: characters 13-16 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadRemotingServer.hx:64: characters 8-11 : Module Std does not define type Std
/usr/lib/haxe/std/haxe/remoting/SocketConnection.hx:90: characters 13-16 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadRemotingServer.hx:111: characters 8-11 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadServer.hx:241: characters 17-20 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadServer.hx:119: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/net/ThreadServer.hx:172: characters 20-23 : Module Std does not define type Std
/usr/lib/haxe/std/neko/db/Transaction.hx:32: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/neko/db/Transaction.hx:39: characters 7-33 : Void should be Bool
/usr/lib/haxe/std/neko/db/Manager.hx:500: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/db/Mysql.hx:176: characters 16-19 : Module Std does not define type Std
/usr/lib/haxe/std/neko/db/Sqlite.hx:66: characters 15-18 : Module Std does not define type Std
/usr/lib/haxe/std/neko/Boot.hx:128: characters 33-36 : Module Std does not define type Std
/usr/lib/haxe/std/neko/Boot.hx:136: characters 28-31 : Module Std does not define type Std
/usr/lib/haxe/std/neko/Boot.hx:130: lines 130-135 : A return is missing here
/usr/lib/haxe/std/neko/Web.hx:66: characters 10-13 : Module Std does not define type Std
/usr/lib/haxe/std/neko/zip/Compress.hx:40: characters 28-31 : Module Std does not define type Std
/usr/lib/haxe/std/neko/zip/Uncompress.hx:40: characters 28-31 : Module Std does not define type Std
/usr/lib/haxe/std/List.hx:183: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/DateTools.hx:186: characters 13-16 : Module Std does not define type Std
/usr/lib/haxe/std/neko/_std/Hash.hx:69: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/neko/_std/Date.hx:65: characters 9-12 : Module Std does not define type Std
/usr/lib/haxe/std/neko/_std/Date.hx:64: lines 64-66 : Int should be Void
/usr/lib/haxe/std/neko/_std/EReg.hx:117: characters 38-41 : Module Std does not define type Std
/usr/lib/haxe/std/neko/_std/IntHash.hx:69: characters 9-12 : Module Std does not define type Std


On Tue, Sep 20, 2011 at 4:34 PM, Fei Yin <[hidden email]> wrote:
I want to make a new project to translate haxe document to Chinese and write more infomation in it , using docbook . So I plan to change haxedoc to output docbook xml instead html.

But when I output the haxe doc xml file , I can't find anyway to output it .

There is no All.hx anymore . and I write a Cpp.hx , import all classes in cpp package . the I try to output a cpp.xml file . but haxe give me a error .

$ haxe -xml cpp.xml Cpp.hx -cpp foo --no-output
/usr/lib/haxe/std/cpp/vm/Deque.hx:46: characters 0-62 : Unexpected You_need_to_define_HXCPP_MULTI_THREADED_to_use_the_Deque_class

Could anybody can tell me how to output all haxe classes doc xml file ? Is there any All.hx file works ?

--
Yin Fei
From Icebirds.net




--
Yin Fei
From Icebirds.net




--
Yin Fei
>From Icebirds.net




--
Yin Fei
>From Icebirds.net


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: How to generate haxe doc xml ?

Nicolas Cannasse
Le 20/09/2011 13:14, Fei Yin a écrit :
> $ haxedoc cpp.xml;cpp neko.xml;neko
> ....<neko.xml file content>...
> neko.xml:2016: error: unterminated comment
>   }

Seems like the XML is not valid. The most likely reason is that the neko
XML parser is not UTF8-based so some of the chinese character bytes
might contain something that prevent good parsing. Could you edit the
neko.xml and look at line 2016 to check what's going wrong ? Try to
edit/modify the XML until haxedoc accepts it and report me the actual issue.

Best,
Nicolas

--
haXe - an open source web programming language
http://haxe.org