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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:42:54+00:00 2026-06-15T07:42:54+00:00

I have a big 400kb xml file. When i try to load it by

  • 0

I have a big 400kb xml file.

When i try to load it by using:

  • IXMLDocument’s LoadXMLData or
  • CreateOLEObject(‘MSXML2.DOMDocument.4.0′)’ Load method

I get Undefined error in both methods.
I took the file and pasted to xml validation webpage, it valides ok…

What else can i do?

By the way, Is there any max length for the attribute in the element?

EDIT

it seems that it cannot load long attribute …
i have part of another xml in the xml’s attribute value …

An error pops up: Undefined error. Line: 1 (here is the begining of the xml)
Class of the exception is: EDOMParseError

Generally i would like to achive something like this:

<doc type="X223">
  <params id_param="51" value="XML_1" />
  <params id_param="52" value="XML_2" />
  <params id_param="53" value="XML_3" />
</doc>
  • 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-15T07:42:55+00:00Added an answer on June 15, 2026 at 7:42 am

    If you can change your schema, prefer to store your inner XML files to CDATA section, if not then try to think about following.

    Parser failed on your element attribute value most probably due to quote character contained in an XML file you’ve tried to store there. Consider the following case for instance:

    <params id_param="51" value="<innerxmlattributevalue="value">"/>
    

    As you can see, you might confuse parser with the quote char from that inner XML, so that it could take the above line as:

    <params id_param="51" value="<innerxmlattributevalue="
    value">"/>     <-- here is expected to be another attribute or closing bracket
    

    The easiest you can do when you want to keep your current schema is to escape all quoting characters of your inner XML file.

    From the RFC 2629 specification (emphased by me):

    Make sure that all attributes values are quoted, e.g., "<example name='value'>", If the value contains one of the quoting characters,
    then use the other to quote the value, e.g., "<example name='"'>",
    If the value contains both quoting characters, then use one of them to quote the value, and replace occurrances of that character in the
    attribute value with either '&apos;' (apostrophe) or "&quot;"
    (quotation), e.g., "<example name='"&apos;"'>"
    .

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

Sidebar

Related Questions

Hi I have big xml file which has a structure similar to the one
I have big web application using JQuery UI Tabs. In central JS file I
I have big problems using the InternetGetLastResponseInfo function because of all the weird file
I have big trouble with file uploads with php. My own tests are successful
I have a pretty big JavaScript file here which I want to embed into
I have big problems with stopping a service, which plays audio file. I want
I have big content. get by file_get_content. It like this: <div class=nwsdetail> <div class=othernws>
I have big .csv file. I would like to filter that file into a
I have big data portions to cache in APC (normal file caching is too
I have big xls file with formulas and graphics. I want to add some

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.