Solved

XML validation issue

Posted on 2015-01-07
3
72 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
  • 2
3 Comments
 
LVL 60

Expert Comment

by:Geert Bormans
Comment Utility
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
Comment Utility
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
Comment Utility
- 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
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, …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now