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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T04:05:20+00:00 2026-05-19T04:05:20+00:00

Maybe you can help me in my problem:) And here is the issue description.

  • 0

Maybe you can help me in my problem:) And here is the issue description.

My application is running on jboss 4.2.3. It has some functionality to upload content via rest endpoint. I have a problem when user tries to send content with special character like  . User always get 400 bad response.

Here is as example of body of PUT request that run ok:

<content-list xmlns="http://www.test.com/pgp/1.0">
  <content-record content-type="i_schema_2:ContentType2"  
  url-key="bla bla bla" created-by="test">
     <field name="field1" type="string">Field3 Value</field>
     <field name="field2" type="string">Field4 Value</field>
     <field name="field3" type="string">Field4 Value</field>
  </content-record>
</content-list>

And here is as example of body of PUT request that run with 400 error:

<content-list xmlns="http://www.test.com/pgp/1.0">
  <content-record content-type="i_schema_2:ContentType2"  
  url-key="bla bla bla" created-by="test">
     &#x7;<field name="field1" type="string">Field3 Value</field>
     <field name="field2" type="string">Field4 Value</field>
     <field name="field3" type="string">Field4 Value</field>
  </content-record>
</content-list>

Is this could be tuned by setting some options to tomcat of jboss or some http request header?

  • 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-05-19T04:05:20+00:00Added an answer on May 19, 2026 at 4:05 am

    &#x7; is not a legal character in XML. It sounds like your server is parsing the XML when it is uploaded, and the XML is not well-formed.

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

Sidebar

Related Questions

maybe some one can help me with this... I have a custom search button
Maybe you can help me... I am writing a program in Windows Mobile that
I have a little dilemma that maybe you can help me sort out. I've
Can anyone (maybe an XSL-fan?) help me find any advantages with handling presentation of
Maybe this cannot be done, but please help or suggest how this can be
...just like packages do. I use Emacs (maybe, it can offer some kind of
I've done some Googling, and can't find anything, though maybe I'm just looking in
I have come across the same problem, but maybe I can give a little
This is baffling me, maybe somebody can shine the light of education on my
This maybe a stupid question, but as I can not easily undo my change

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.