Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[java] Expected attribute name #299

Open
acarioni opened this issue Jun 28, 2022 · 1 comment
Open

[java] Expected attribute name #299

acarioni opened this issue Jun 28, 2022 · 1 comment

Comments

@acarioni
Copy link

acarioni commented Jun 28, 2022

I’m using dox 1.6.0 with haxe 4.3.0-rc.1+a49b191 on a multi-target project.
When I try to generate the documentation for the java target, I get the following error (here is the xml java.xml.zip):

Using Node.js version of dox...
Parsing bin/docs/java.xml
src/dox/Dox.hx:143: Error while parsing bin/docs/java.xml

/Users/acarioni/haxe/haxe_libraries/dox/1.6.0/haxelib/run.js:2944
			throw haxe_Exception.thrown(err);
			^
<ref *1> Error: haxe.xml.XmlParserException: Expected attribute name at line 71314 char 23
    at new haxe_ValueException (/Users/acarioni/haxe/haxe_libraries/dox/1.6.0/haxelib/run.js:6018:17)
    at Function.haxe_Exception.thrown (/Users/acarioni/haxe/haxe_libraries/dox/1.6.0/haxelib/run.js:4405:11)
    at parseFile (/Users/acarioni/haxe/haxe_libraries/dox/1.6.0/haxelib/run.js:2944:25)
    at Function.dox_Dox.run (/Users/acarioni/haxe/haxe_libraries/dox/1.6.0/haxelib/run.js:2961:3)
    at Function.dox_Dox.main (/Users/acarioni/haxe/haxe_libraries/dox/1.6.0/haxelib/run.js:2914:10)
    at /Users/acarioni/haxe/haxe_libraries/dox/1.6.0/haxelib/run.js:19317:9
    at Object.<anonymous> (/Users/acarioni/haxe/haxe_libraries/dox/1.6.0/haxelib/run.js:19318:3)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32) {
  __previousException: undefined,
  __nativeException: [Circular *1],
  __skipStack: 2,
  value: {
    xml: ...,
    message: 'Expected attribute name',
    position: 2976744,
    lineNumber: 71314,
    positionAtLine: 23
  }
}
Failed to invoke `haxelib run-dir dox "/Users/acarioni/haxe/haxe_libraries/dox/1.6.0/haxelib" -i bin/docs/java.xml -o bin/pages` because Error: Command failed: haxelib run-dir dox "/Users/acarioni/haxe/haxe_libraries/dox/1.6.0/haxelib" -i bin/docs/java.xml -o bin/pages
@sebthom
Copy link
Contributor

sebthom commented Feb 26, 2023

I cannot reproduce this using 4.3.0-rc.1+1cbe856. Is it still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants