fedecarg / apify-library

Apify is a small open source library that delivers new levels of developer productivity by simplifying the creation of RESTful architectures. It helps development teams deliver quality web services and applications in reduced amounts of time. If you are familiar with the Zend Framework, then you already know how to use Apify.
http://www.apifydoc.com
Other
265 stars 49 forks source link

@attributes not-well formed (invalid token) #11

Closed tbrannam closed 8 years ago

tbrannam commented 12 years ago

It appears that XML formatted data being returned may contain xml elements labeled @attributes. It looks like XML doesn't normally support @ as a leading character in an element tag.

<?xml version="1.0" encoding="UTF-8"?>

@attributes 0.3

is this expected output?

tbrannam commented 12 years ago

I see the my sample XML didn't publish correctly above

I jumped the gun - the @attributes is an artifact of the parsed data tree from simplexml_load_string on my input file -- I wonder if the output in XML format should be undoing @attributes back into an attributes inside the parent element.