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 8989225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:12:16+00:00 2026-06-15T22:12:16+00:00

I am using the following schema to parse GraphML XML files. I managed to

  • 0

I am using the following schema to parse GraphML XML files.

I managed to bind java classes from the schema (using xjc) and also unmarshaled a few example XML files.

Unfortunately, when I come to marshaling the XMLs I am getting the following error:

SchemaLocation: schemaLocation value = ‘Graphml.xsd’ must have even number of URI’s

As far as I can see the only schemaLocation use in the xsd is the following:

<xs:import namespace="http://www.w3.org/1999/xlink"                
  schemaLocation="http://graphml.graphdrawing.org/xmlns/1.0/xlink.xsd">
  ...

But I can’t see a problem in it.

Can someone suggest what is wrong ?

  • 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-15T22:12:17+00:00Added an answer on June 15, 2026 at 10:12 pm

    The schema fragment you show is syntactically correct; you are right not to find any problem there. The error message also doesn’t seem to be talking about the schema at http://graphml.graphdrawing.org/xmlns/1.1/graphml-structure.xsd — it’s talking about something called GraphML.xsd.

    Without seeing the XML instance it’s hard to be sure, but perhaps in the document instance there is an attribute value specification of the form xsi:schemaLocation = "GraphML.xsd" and a validator is complaining that the value “GraphML.xsd” needs instead to be a value containing an even number of URIs: namespace-name, schema-location pairs (as described in Blaise Doughan’s answer).

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

Sidebar

Related Questions

I have parsed a batch of XML Schema files using a DOMparser. I than
I am trying to parse sitemap.xml files using scrapy, the sitemap files are like
I'm trying to parse the result from a RESTFull call using RestTemplate following this
I got error while binding the xml schema int Java Object by using the
I trying to parse the message element out of the following XML fragment using
I'm trying to parse xml from SharePoint service (lists) using jquery. I have XMLHttpRequest
How can I generate XML with the following schema using JAXB. <NS1:getRatesResponse xmlns:NS1="http://mynamespaceTypes"> <response>
I am trying to parse XML from a .NET WCF Webservice using NSXML Parser.
Trying to map the following schema using the Entity Framework. A Customer can have
I am using following configuration to properly fit image inside a scrollview. <?xml version=1.0

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.