question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Having a node complexType named Package breaks compilation of generated code

See original GitHub issue

My xsd has a complexType named a.b.c.Package which causes:

[warn] Class a.b.c.scalaxb.Package$ differs only in case from a.b.c.scalaxb.package$. Such classes will overwrite one another on case-insensitive filesystems

and sometime breaks with SI-8305:

[error] error while loading 'package', class file 'a/b/c/scalaxb/Package.class' has location not matching its contents: contains class 'package'

I was not able to reproduce it in tests, but renaming package helped. PR on the way.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
eed3si9ncommented, Dec 24, 2021
1reaction
mkljakubowskicommented, Jan 26, 2017

Hey @gabro, imo it is ready to go. I can fix comments and rebase PR if @eed3si9n thinks it is the way to go. btw. the solution provided worked just fine in my case

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - JAXB and complexType sharing name with one of it's ...
1 Answer 1 ... You can use an external binding file to customize the generated class names. For an example see: ... Awesome!...
Read more >
Chapter 17 Binding between XML Schema and Java Classes
Compile classes: All of the generated classes, source files, and application code must be compiled. Unmarshal: XML documents written according to the ...
Read more >
JAXB Users Guide - Java EE
This document explains various interesting/complex/tricky aspects of JAXB, based on questions posted on the JAXB users forum and answers I provided.
Read more >
Upgrade to Compiler v2 - SAP Capire
Call cds fix-redirects to let the compiler generate the required annotate statements for you. Option 2: ... No artifact has been found with...
Read more >
Writing R Extensions - The Comprehensive R Archive Network
Once a source package is created, it must be installed by the command R CMD INSTALL ... For example, if you have a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found