Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8705721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:26:09+00:00 2026-06-13T03:26:09+00:00

I am running into troubles when wanting to compile my XSDs (which I am

  • 0

I am running into troubles when wanting to compile my XSDs (which I am not the author of) with XJC.

Specifically, I get the error (there are actually more like these):

 [ERROR] src-resolve: Cannot resolve the name "ifopt:CountryRefStructure" to a(n) 'type definition' component.
   line 131 of file:/E:/ansdef/schema/siri-1.3/siri/siri_situationIdentity-v1.1.xsd

That is strange since the mentioned file (siri_situationIdentity-v1.1.xsd) refers to another XSD where the suspicious type is declared.

I tried several things

  • switch Java version to get different xjc
  • tried some different xjc directly from java.net
  • applied some modifications to the files so that the currently applied JAXB workarounds regarding includes/imports are removed
  • tried to use the whole directory with dependent schemas as target for xjc
  • Altova XMLSpy Java code generation works well without errors (but is no way to go for me)

None of them worked.

Does anybody have a clue what the error message is caused by? I don’t see the point.
You may get all the XSDs directly from here:
Verband Deutscher Verkehrsunternehmen (VDV) – Ist-Daten-Schnittstellen

The command line I tried (amongst others) was:

xjc -readOnly -d generated -npa -target 2.1 -verbose VDV453_incl_454_V2.3e.xsd

Any help or hint is greatly appreciated.

Regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T03:26:10+00:00Added an answer on June 13, 2026 at 3:26 am

    The solution here was to use the -nv switch to disable strict validation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running into some troubles with my code, which I narrowed down and simplified
I am running into an error I am having trouble figuring out. I have
I have been running into some troubles recently and I think I need your
It is unfortunate that I am running into some troubles with the php sax
I'm new to xpath and am running into troubles with PHP's ancient XPath implementation.
What I want To get this guide to work http://blog.bigpixel.ro/2012/07/building-cc-applications-with-maven/ The Error I'm running
I'm having troubles with a PHP script that imports csv files into MongoDB. There's
I am working with html5 audio and running into some troubles with the buffer.
Folks, we're running into some sequencing troubles with our MSI install. As part of
im using Rails 3.2.8 and SQLite 1.3.6 and im running into troubles changing boolian

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.