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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:47:38+00:00 2026-05-11T01:47:38+00:00

a day before end of project i run into a complicated issue: i have

  • 0

a day before end of project i run into a complicated issue: i have a wtf service and 3 client application using it. service has three methods, each one receiving an xml document as an argument and returning xml document. this is how they communicate. i’ve got some xsd files to validate generated and received xml’s. till today everything worked fine. i’ve got polish windows and today i run my application on english windows. as you probably realised this far, i got a message from my application that the received xml is not valid. i checked it and the VaR value that was suppopsed to be double in the xml was written with period (or coma, i don’t remember but it wasn’t working). i’m wondering now – is there any good solution for this problem? i mean i validate xml like this:

public bool IsValid(XDocument xmlDocument, Stream xsdContent)         {             XmlSchemaSet schemaSet = new XmlSchemaSet();             XmlReader reader = XmlReader.Create(xsdContent);             schemaSet.Add(string.Empty, reader);              valid = true;             xmlDocument.Validate(schemaSet, (sender, eventt) => { valid = false; e = eventt; });              return valid;         } 

there is no way i could tell the validator what the separator in double should be. the only solution i could think of is to simply specify in xsd that the problematic VaR value is a string and then check programmaticaly if it is a double number, with period or coma.

  • 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. 2026-05-11T01:47:39+00:00Added an answer on May 11, 2026 at 1:47 am

    The XML schema spec specifies that floating point numbers are represented using a period and not using a comma. The locale doesn’t have any affect on what is valid XML.

    You don’t include your error. Hopefully it is complaining that there is a comma in a number.

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

Sidebar

Related Questions

I have selected rows based on DateTime before using either: DATEADD(day, -1, GetDate()) AND
I have a Client model which has many projects. In the project model I
I have some date and I want to get last x day before this
hi I have a datepickerdialog but i´d like to change always one day before
G'day, I have never really used excel formulas before but need to convert a
I'm using VS2010 every day, and haven't noticed it before. There is too many
I'm incorporating Highcharts into my Rails 3/Ruby 1.8.7 project, using Railscast episode 223 as
I'm using python day to day and need to have an index of both
This is a Windows Forms Application project using Visual Studio 2010. That being said:
I have a Delphi application which reads data from an excel spreadsheet using code

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.