Home > Xml Error > Xml Error Xml_err_name_required At Line 1

Xml Error Xml_err_name_required At Line 1

Dedicated servers / VDS hosting only Forum rules Post Reply Print view Search Advanced search 15 posts • Page 1 of 1 techcafe I Can't Search Before Posting Posts: 2 Joined: A quick fix is to rename the invalid xml tags before parsing: Open joomla\components\com_hwdmediashare\libraries\uber\ubr_finished_lib.php Add the following code to function parseFeed() # Precede invalid tag names with key_ $xml_post_data = preg_replace('/\<([0-9][^\>]*)\>([^\<]*)\<\/([0-9][^\>]*)\>/', Log in or register to post comments Comment #2 AlexisWilke CreditAttribution: AlexisWilke commented May 13, 2009 at 5:19pm philsward, Thank you for your support. Can somebody fix this? 1 person hasthis problem +1 follow 2362901 Link Short URL Reply Create a customer community for your own organization. Source

One thing that bothers me is that after module update Drupal says that i have to run update.php. Log in or register to post comments Comment #9 njardim CreditAttribution: njardim commented April 4, 2011 at 12:12am This issue is still arround in version 7! FAQs! To use it, I just prepend "http://servername/cgi-bin/feedclean.cgi?feed=" to the feed I'm having problems with.

It seems just fine. The only thing I can see that is happening is the RSS feeds blocks (we only have three of them) are being checked. If it breaks, then I replace the ampersand by & and leave the rest alone. I'm not too sure why MySQL doesn't like it.

And it should be appreciated. I fixed it by adding ?format=xml on the end of the feed URL. Add a product + Start by typing a product or service name and we will look it up! Add Image I'm e.g.

Alexis Log in or register to post comments Comment #23 lordzik CreditAttribution: lordzik commented April 7, 2011 at 10:21am @Alexis Wilke I don't like the way "core" acts in this case I also force a linebreak between adjacent tags with no text between them, which cleaned up a feed without invalid characters that Simplepie was choking on for some reason that I This is the Apache error log (at log level warn), not access log. A similar issue has been placed at: http://drupal.org/node/275567 which provides a small workaround for this issue.

Log in or register to post comments Comment #19 lordzik CreditAttribution: lordzik commented April 7, 2011 at 7:20am Status: Closed (won't fix) » Needs work Great! Thank you. Log in or register to post comments Comment #4 AlexisWilke CreditAttribution: AlexisWilke commented July 23, 2009 at 6:03am FileSize aggregator-fix_ampersand-6.x.patch1.64 KB Okay. Those references have a very specific syntax defined in the XML 1.0 documentation.

This is the default Apache log format as shipped from Apache .org. The title of the RSS feed didn't validate. Posted and Close RSS Graffiti™ (Account) Your Dashboard Profile Information Email & Notifications Sign out Log in or Sign up RSS Graffiti™ employees are here to help. Sorry.

I'm not working with D7... this contact form http://www.w3.org/TR/REC-xml/#sec-starttags The first character of a Name MUST be a NameStartChar, and any other characters MUST be NameChars; this mechanism is used to prevent names from beginning with European (ASCII) digits My table is like this: mysql> desc i6sj_aggregator_item; +-------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------+--------------+------+-----+---------+----------------+ | iid | int(11) | NO | PRI What would be the disadvantage to defining a class as a subclass of a list of itself?

How does this make you feel? At times, the problem is temporary (like that < problem, once that item is too old, it wouldn't appear in the RSS and thus not cause any problem.) I have not Log in or register to post comments Comment #18 Dave Reid CreditAttribution: Dave Reid commented April 7, 2011 at 5:48am Status: Needs work » Closed (won't fix) Quite simply, the feed have a peek here Regards, njardim Log in or register to post comments Comment #15 lordzik CreditAttribution: lordzik commented April 6, 2011 at 2:19pm Hello, i've tried both patches but still get an error.

Does Voldemort have any hobbies? Anyone have insight on what this error means? Is it acceptable to ask an unknown professor for help in a related field during his office hours?

Can you make a new patch for core module?

Why is True < 2 in Python? The "XML_ERR_NAME_REQUIRED" problem seems to be caused by the "&" character within the xml feed. Alexis WilkeFiles: CommentFileSizeAuthor #4 aggregator-fix_ampersand-6.x.patch1.64 KBAlexisWilke #3 aggregator-6.x-ampersand.patch547 bytesAlexisWilke index.txt12.48 KBAlexisWilke Comments Comment #1 philsward CreditAttribution: philsward commented May 19, 2009 at 7:13pm When is this going to be fixed? Reply With Quote 01-07-2010,03:18 AM #2 halojoy View Profile View Forum Posts Visit Homepage phpMaster Join Date Jun 2005 Location Europe Posts 2,992 If you had search forum you would find:

But I have a strange problem with a simple XML Document that I cannot debug. Or, worse still, someone redesigned the site, and the old rss feed url now redirects back to the home page instead of returning rss.Basically, you've got to check and probably redo Open the file lib/simplepie/simplepie.inc2. Check This Out Alexis Log in or register to post comments Comment #12 njardim CreditAttribution: njardim commented April 6, 2011 at 1:58am Alexis: Do you have a version of the patched aggregator.module for drupal

The time now is 09:13 AM. Web This Site CaRP: Caching RSS Parser - Documentation CaRP Interactive FAQ Getting Started: Have you set up your logging in some strange way? Apache2.4.18 (Win64) / PHP5.6.19 / MySQL5.7.11 / phpMyAdmin4.6.0 Reply With Quote 01-07-2010,03:53 AM #3 druidmatrix View Profile View Forum Posts Junior Member Join Date Jan 2010 Posts 12 But there are News: Note: trouble with registration?See this for more info.

Log in or register to post comments Comment #6 Damien Tournoud CreditAttribution: Damien Tournoud commented July 23, 2009 at 6:53am Status: Fixed » Closed (won't fix) Log in or register to php xml joomla share|improve this question edited Aug 5 '15 at 8:34 James Webster 24k115089 asked Aug 4 '15 at 14:04 Ozzy 5,68833572 add a comment| 1 Answer 1 active oldest Go talk to your government about it! 8-) The link can be more than 255 characters, so the update attempts to fix the problem by changing the field to type TEXT. My manager said I spend too much time on Stack Exchange.

Please, try with version 1.1 as posted here: https://secure.m2osw.com/doc-drupal-m2osw-aggregator File attachments are at the bottom of the page. Reply With Quote 01-07-2010,04:22 AM #4 Weedpacket View Profile View Forum Posts Pedantic Curmudgeon Join Date Aug 2002 Location General Contact Unit "Coping Mechanism" Posts 22,322 1 isn't a valid name Top fox ^ me reading your posts ^ Posts: 6065 Joined: 27 Aug 2005, 22:53 Location: Saint-Petersburg, Russia Contact: Contact fox Website Re: This XML document is invalid, likely due to Please re-enable javascript to access full functionality.

FAQs! Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Post Reply Print view 15 posts • Page 1 of 1 Return Similarly the lines above do not say anything about the file name involved. I'm attaching the file that causes problems (renamed .txt from .rss so it can be attached here).

Alexis Wilke Log in or register to post comments Comment #3 AlexisWilke CreditAttribution: AlexisWilke commented May 13, 2009 at 5:27pm FileSize aggregator-6.x-ampersand.patch547 bytes There is a patch so you can easily