Solved

XML validation issue

Posted on 2015-01-07
3
83 Views
Last Modified: 2015-01-22
Hey there,

I'm trying to post an xml validation for our company.  I'm trying to stage a test to our staging server with 10 email addresses.  The error i'm getting is:   The processing instruction target matching "[xX][mM][lL]" is not allowed.

type:  well formed

loc:  2,6

attached is a screen shot.

please help!

Metalfubar
testcorefail.png
0
Comment
Question by:metalfubar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 60

Expert Comment

by:Geert Bormans
ID: 40536104
That error indicates that the XML declaration is mistaken for a process instruction
<?xml ....

Most plausible reason is that there is something before it
- could be a double declaration
- could simply be the BOM
- could be some non allowed namespace
-... or you could have that declaration in the middle because you concatenated two XML documents

without a document, we can not help you better
0
 

Author Comment

by:metalfubar
ID: 40536135
Ok.  Here is the file to look at.  Once resolved I'll remove it and there's nothing really in there accept email accounts.

lmk?  

thx

metalfubar
PIE-2015-01-06NEW10.xml
0
 
LVL 60

Accepted Solution

by:
Geert Bormans earned 500 total points
ID: 40536231
- No text is allowed before the root element, so you should cut the CSS part from the XML
- A document can only have one XML root, Feed in your case, that should be OK
- no whitespace or newline is allowed between "<" and the element name, wrong in about every start tag
(a new line is common right before the ">" in a start tag if you are afraid of long lines)

There are many errors in the document, send in again after you fixed the above
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
API Soap Calls 4 153
Trouble parsing soap xml result 3 74
Load XML element 3 43
XJS:  how to throw error if no match found 8 57
The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question