[java] Expected attribute name
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java, node.js
- Domain
- documentation, tooling
Research direction
Start with src/dox/Dox.hx:143 and reproduce the failure using the supplied bin/docs/java.xml, focusing on line 71314, character 23. Compare the XML at that location with the parser's expectations and verify the fix by rerunning dox for the Java target; done means the document parses and generation completes without the attribute-name error.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Haxe
- Stars
- 158
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HaxeFoundation/dox
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
HaxeFoundation/dox#312 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
HaxeFoundation/dox#309 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
HaxeFoundation/dox#308 · 6 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
HaxeFoundation/dox#294 · 3 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
HaxeFoundation/dox#291 · 1 comment ·
All issues in HaxeFoundation/dox
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
vetro-protocol/vetro-monorepo#1262 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 64/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Link Checker ReportOpenBot Type: Bug Type: Documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Snow blower help text: the 2-minute head report, and Ignore stays silentMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Groundskeeper-robot/groundskeeper#167 ·
Maintainers usually reply within 1 day