RE: [backstage] Invalid XML in iPlayer feeds

2009-09-04 Thread Ian Forrester
Good to meet someone else who uses XMLStarlet, although I've not used it
for years to be honest.

Secret[] Private[x] Public[]

Ian Forrester
Senior Backstage Producer, BBC R&D
01612444063 | 07711913293
ian.forres...@bbc.co.uk

-Original Message-
From: owner-backst...@lists.bbc.co.uk
[mailto:owner-backst...@lists.bbc.co.uk] On Behalf Of Sean DALY
Sent: 03 September 2009 16:12
To: backstage@lists.bbc.co.uk
Subject: Re: [backstage] Invalid XML in iPlayer feeds

I have generated calmness by inserting systematic XML validation in my
workflows using xmlstarlet, e.g.:



$ xml val list.htm
list.htm:2: parser error : XML declaration allowed only at the start of
the document 
 ^
list.htm - invalid
$


I ran the above on a Mac. Runs on Windows, *nux, the BDSs, etc.

Sean



On Thu, Sep 3, 2009 at 3:59 PM, Alex Mace wrote:
> iPlayer itself seemed to be down eariler today...
>
> Alex
>
> On 3 Sep 2009, at 14:52, Paul Battley wrote:
>
>> The iPlayer feeds seem to be broken today. They currently have a 
>> blank line before the XML declaration, making them invalid.
>>
>> E.g. (Firefox will also complain if you load it up) 
>> http://feeds.bbc.co.uk/iplayer/popular/tv/list
>>
>> Has anyone else noticed? I can't be the only person who is using a 
>> real, strict XML parser to consume them!
>>
>> Paul.
>> -
>> Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, 
>> please visit
http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.
>>  Unofficial list archive:
>> http://www.mail-archive.com/backstage@lists.bbc.co.uk/
>
> -
> Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, 
> please visit
http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.
>  Unofficial list archive:
> http://www.mail-archive.com/backstage@lists.bbc.co.uk/
>
-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe,
please visit
http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.
Unofficial list archive:
http://www.mail-archive.com/backstage@lists.bbc.co.uk/

-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/backstage@lists.bbc.co.uk/


Re: [backstage] Invalid XML in iPlayer feeds

2009-09-03 Thread Sean DALY
I have generated calmness by inserting systematic XML validation in my
workflows using xmlstarlet, e.g.:



$ xml val list.htm
list.htm:2: parser error : XML declaration allowed only at the start
of the document

 ^
list.htm - invalid
$


I ran the above on a Mac. Runs on Windows, *nux, the BDSs, etc.

Sean



On Thu, Sep 3, 2009 at 3:59 PM, Alex Mace wrote:
> iPlayer itself seemed to be down eariler today...
>
> Alex
>
> On 3 Sep 2009, at 14:52, Paul Battley wrote:
>
>> The iPlayer feeds seem to be broken today. They currently have a blank
>> line before the XML declaration, making them invalid.
>>
>> E.g. (Firefox will also complain if you load it up)
>> http://feeds.bbc.co.uk/iplayer/popular/tv/list
>>
>> Has anyone else noticed? I can't be the only person who is using a
>> real, strict XML parser to consume them!
>>
>> Paul.
>> -
>> Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please
>> visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.
>>  Unofficial list archive:
>> http://www.mail-archive.com/backstage@lists.bbc.co.uk/
>
> -
> Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please
> visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.
>  Unofficial list archive:
> http://www.mail-archive.com/backstage@lists.bbc.co.uk/
>
-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/backstage@lists.bbc.co.uk/


Re: [backstage] Invalid XML in iPlayer feeds

2009-09-03 Thread Alex Mace

iPlayer itself seemed to be down eariler today...

Alex

On 3 Sep 2009, at 14:52, Paul Battley wrote:


The iPlayer feeds seem to be broken today. They currently have a blank
line before the XML declaration, making them invalid.

E.g. (Firefox will also complain if you load it up)
http://feeds.bbc.co.uk/iplayer/popular/tv/list

Has anyone else noticed? I can't be the only person who is using a
real, strict XML parser to consume them!

Paul.
-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe,  
please visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html 
.  Unofficial list archive: http://www.mail-archive.com/backstage@lists.bbc.co.uk/


-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/backstage@lists.bbc.co.uk/


[backstage] Invalid XML in iPlayer feeds

2009-09-03 Thread Paul Battley
The iPlayer feeds seem to be broken today. They currently have a blank
line before the XML declaration, making them invalid.

E.g. (Firefox will also complain if you load it up)
http://feeds.bbc.co.uk/iplayer/popular/tv/list

Has anyone else noticed? I can't be the only person who is using a
real, strict XML parser to consume them!

Paul.
-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/backstage@lists.bbc.co.uk/