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

  • Home
  • SEARCH
  • 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 8546157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:57:10+00:00 2026-06-11T12:57:10+00:00

I have a jaxb custom bindings file in eclipse (named binding.xjb) and while it

  • 0

I have a jaxb custom bindings file in eclipse (named binding.xjb) and while it opens in the xml editor it won’t provide content assist for any of the namespaces I have imported. This makes it very difficult to check the validity of the file.

The top of the file looks like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<jaxb:bindings version="2.0" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
xmlns:xs="http://www.w3.org/2001/XMLSchema">`

Anybody got any idea what I need to do to get content-assist working for this file?

Thanks

UPDATE:
Following on from Blaises answer (below), I set:

Location:    http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd
KeyType:     Namespace name
Key          http://java.sun.com/xml/ns/jaxb

and now I can see content assist in eclipse.

  • 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-11T12:57:11+00:00Added an answer on June 11, 2026 at 12:57 pm

    If you register an XML schema in the Eclipse XML catalog, then the XML editor will give you content assist when you create a corresponding root element with the appropriate namespace qualification. Below are the clicks for doing this in Eclipse Juno:

    • Open Preferences Window: Eclipse | Preferences
    • Preferences Window: XML | XML Catalog | Add
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a servlet which uses JAXB to unmarhsal and marshal an XML file,
I have a xml file generated using moxy implementation of jaxb. However standalone value
I have some objects being unmarshalled from an XML file by JAXB. Is it
I have created a Structure for my XML to work with JAXB Unmarshalling The
I have some problem when unmarshaling a .xml at a web service using JAXB.
I have some dates I have to represent in an XML file in a
I have this schema and i'm using JAXB to generate java stub files. <?xml
I have some problem while trying to use the schemagen tool from JAXB library
The JAXB objects have been generated with Eclipse and then I've been trying to
I have a library of JAXB/Entity objects I am using to unmarshall a xml

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.