Remove type=feed and type=entry parameters from application/atom+xml media types as they make IE 6's XMLHttpRequest hang.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1053559 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
788cba4bc8
commit
2fedb4a4b6
6 changed files with 23 additions and 8 deletions
|
|
@ -65,6 +65,15 @@ const bool isATOMFeed(const list<string>& ls) {
|
|||
return contains(car(ls), "<feed") && contains(car(ls), "=\"http://www.w3.org/2005/Atom\"");
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if a list of strings contains an ATOM entry.
|
||||
*/
|
||||
const bool isATOMEntry(const list<string>& ls) {
|
||||
if (!isXML(ls))
|
||||
return false;
|
||||
return contains(car(ls), "<entry") && !contains(car(ls), "<feed") && contains(car(ls), "=\"http://www.w3.org/2005/Atom\"");
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert a list of strings to a list of values representing an ATOM entry.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue