XML problems with REST:smugmug.images.get
fcaero
Registered Users Posts: 31 Big grins
Afer trying without sucess to use the getimages i now know why
I just passes the getimages output on this validator:
http://validator.w3.org/
And the i get these errors:
Below are the results of attempting to parse this document with an SGML parser.
Line 1, column 39: no document type declaration; will parse without validation
<?xml version="1.0" encoding="utf-8" ?><RSP stat="ok">
✉
Line 3, column 0: character "<" is the first character of a delimiter but occurred as data
<0>30530978</0><1>30530982</1><2>30530986</2><3>30530991</3><4>30530992</4><5>30
If you wish to include the "<" character in your output, you should escape it as "<". Another possibility is that you forgot to close quotes in a previous tag.
✉
Line 3, column 11: character "<" is the first character of a delimiter but occurred as data
<0>30530978</0><1>30530982</1><2>30530986</2><3>30530991</3><4>30530992</4><5>30
How to solve this ?
I'm doing something wrong or its a bug on the API ?
thank you
I just passes the getimages output on this validator:
http://validator.w3.org/
And the i get these errors:
Below are the results of attempting to parse this document with an SGML parser.
Line 1, column 39: no document type declaration; will parse without validation
<?xml version="1.0" encoding="utf-8" ?><RSP stat="ok">
✉
Line 3, column 0: character "<" is the first character of a delimiter but occurred as data
<0>30530978</0><1>30530982</1><2>30530986</2><3>30530991</3><4>30530992</4><5>30
If you wish to include the "<" character in your output, you should escape it as "<". Another possibility is that you forgot to close quotes in a previous tag.
✉
Line 3, column 11: character "<" is the first character of a delimiter but occurred as data
<0>30530978</0><1>30530982</1><2>30530986</2><3>30530991</3><4>30530992</4><5>30
How to solve this ?
I'm doing something wrong or its a bug on the API ?
thank you
0