Solved

XML validation issue

Posted on 2015-01-07
3
89 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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

The Problem How to write an Xquery that works like a SQL outer join, providing placeholders for absent data on the outer side?  I give a bit more background at the end. The situation expressed as relational data Let’s work through this.  I’ve …
Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

617 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