| Pages: [1] :: one page |
| Author |
Thread Statistics | Show CCP posts - 1 post(s) |

Yokan Daifuku
Gallente The Flaming Sideburn's Hedonistic Imperative
|
Posted - 2007.07.26 22:21:00 -
[1]
I noticed that there is no Schema for this. So I thought I'd give it a start.It is in zip format because eve-files doesn't allow xsd files. Schema in a ZIP
So far it can validate: errors, any data in the standard api/result/rowset/row format, and skill in training. It is a start let me know your thoughts on what's done so far. ---- Yo-con Die-foo-koo |

Yokan Daifuku
Gallente The Flaming Sideburn's Hedonistic Imperative
|
Posted - 2007.07.26 22:34:00 -
[2]
Since I've heard the question of "What is a Schema?" more than once today I will tell you. An XML Schema is an XML document that describes how another XML document should be formed and if the format of the data is valid. This website has more information about XML: http://www.w3schools.com/xml/default.asp This website has more information about XML Schema: http://www.w3schools.com/schema/default.asp ---- Yo-con Die-foo-koo |

Neena Valdi
Art of War Cult of War
|
Posted - 2007.07.26 22:40:00 -
[3]
Very good job. /me spanks CCP for not publishing schemas.
|

Jalf
|
Posted - 2007.07.26 23:04:00 -
[4]
Agreed. It would make everything a ton easier if CCP published schemas. It'd ease development of applications using their api, and it'd allow us to easily validate the data we retrieve. CCP please? :D
|

byte2
|
Posted - 2007.07.27 11:29:00 -
[5]
I get a 404 if i try to download this. Can you please re-upload it?
|

Popsikle
Minmatar Re-Awakened Technologies Inc Electus Matari
|
Posted - 2007.07.27 14:43:00 -
[6]
As far as I know, from what Garthagk said, there was no need for a schema ;p ____ <t20> i want to be in a manager potition at Hooters <SaraDawn> Garthagk, do you have it up ? <Garthagk> I can get it up anytime. |

Hiro Yuki
Minmatar Re-Awakened Technologies Inc
|
Posted - 2007.07.27 16:02:00 -
[7]
I get a 404 as well 
|

Jalf
|
Posted - 2007.07.27 16:21:00 -
[8]
Originally by: Popsikle As far as I know, from what Garthagk said, there was no need for a schema ;p
Well, there's no *need* for the API either. But a schema would make a lot of things easier for us. It'd also provide them an easy way to document the XML
Got a link to where he said that though?
|

Yokan Daifuku
Gallente The Flaming Sideburn's Hedonistic Imperative
|
Posted - 2007.07.27 17:23:00 -
[9]
It looks like it was deleted from eve-files. I will look into the problem and see what I can do about it. Please give me 24h to get another host. ---- Yo-con Die-foo-koo |

Takahashi Chiaki
hirr Morsus Mihi
|
Posted - 2007.07.28 17:59:00 -
[10]
Edited by: Takahashi Chiaki on 28/07/2007 18:02:27 Good work!
If you need hosting (semi-permanent), i can throw it up for you. eve-files link works atm btw.
|

Yokan Daifuku
Gallente The Flaming Sideburn's Hedonistic Imperative
|
Posted - 2007.07.28 21:36:00 -
[11]
Thank you for waiting a bit longer than my initial estimate. I was able to contact Chribba, the maintainer of eve-files and he has allowed me to have the file hosted there. ---- Yo-con Die-foo-koo |

Popsikle
Minmatar Re-Awakened Technologies Inc Electus Matari
|
Posted - 2007.07.31 00:33:00 -
[12]
Originally by: Jalf
Originally by: Popsikle As far as I know, from what Garthagk said, there was no need for a schema ;p
Well, there's no *need* for the API either. But a schema would make a lot of things easier for us. It'd also provide them an easy way to document the XML
Got a link to where he said that though?
Hmm I dunno what good a scheme would do me, so maybe "us" is not the right word you wanted to use ;p ____ <t20> i want to be in a manager potition at Hooters <SaraDawn> Garthagk, do you have it up ? <Garthagk> I can get it up anytime. |
|

CCP Garthagk

|
Posted - 2007.07.31 01:17:00 -
[13]
I've said that I'm not going to write one myself, but I have nothing against a community effort. I'd actually encourage it, as it's a good tool for finding bugs and helping ensure that things don't change accidentally.
At any rate, Yokan made some points about the API and how some things just won't work for XSD as is. Notably, the rowset elements pose problems when there are two or more in the same container.
The fix is to make them unique, something like this:
OLD:
<rowset name="testRows"> <row>...</row> <row>...</row> </rowset> PROPOSED:
<testRows isRowset="1"> <row>...</row> <row>...</row> </testRows> This would require changes in everybody's parser, but I can make this sort of thing a "version 2 will happen on MM/DD/YY, be prepared" and provide people with a "?ver=2" flag they can set in advance so they can test.
Thoughts?
-------------- Garthagk - EVE Web Guy
To err is human to really ***** up takes admins. -Hellmar |
|

Yokan Daifuku
Gallente The Flaming Sideburn's Hedonistic Imperative
|
Posted - 2007.07.31 01:58:00 -
[14]
Garthagk's improvement to the API will allow a fully functional and unified (one Schema for the whole API) Schema. The use of a Schema will help everyone make sure all input is valid. This will also allow detection of any "hiccups" that may happen along the way. I only see this improvement making things better for everyone. ---- Yo-con Die-foo-koo |

Yokan Daifuku
Gallente The Flaming Sideburn's Hedonistic Imperative
|
Posted - 2007.08.01 07:39:00 -
[15]
So I've been thinking some more about a second alternative to Garthagk's use of <testRowSet> and along with some chat I would like to propose this alternative. His suggestion would require a change in the XPath of every function however adding a element between result and rowset may be the answer. Making a path of result/functionName/rowset/row would keep the common XPath expression //rowset and //rowset/row still compatible. If someone had put exact paths they could just insert a / after result and still receive the same results. ---- Yo-con Die-foo-koo |

Jedzias Miezekatze
|
Posted - 2007.12.01 12:19:00 -
[16]
Wonderful ! long awaited schema for pretty coding.
Ahm.... is there anything done or new about it ?
|
| |
|
| Pages: [1] :: one page |
| First page | Previous page | Next page | Last page |