Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

XML validation issue

Posted on 2015-01-07
3
Medium Priority
?
96 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 2000 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

Quick Cloud Training

Looking for some quick training on the cloud in 2 hours or less? Check out these how-to guides in AWS, Linux, OpenStack, Azure, and more!

Question has a verified solution.

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

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

721 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