Today I faced a strange bug caused by the interaction of the user-agent string of Firefox on ubuntu feisty and some paket filters. A site wouldn’t load with the error message above in Firefox, but it would load in Opera. Update of firefox package didn’t fix it.
Found this thread Connection Reset in Firefox but not other browsers and one proposed fix worked for me:
Open “about:config” , type useragent in filter and change setting “general.useragent.extra.firefoxComment” from (Ubuntu feisty) to (Ubuntu). The problem seems to be that substring “ist” is recognized as a malware signature by some paket filters.
Since last year I have been working on a REST-version of a webservice to access a handle system server. XML schema is a good way to describe the service interface of such a webservice.
Motivated by the current discussion at the handle mailinglist I finally pushed it to version 0.1 which I would regard rather as a proof of concept and a contribution to this discussion. This schema can be used as a starting point to design a custom REST interface to a handle system server or even as a means to describe a handle site’s data structure and constraints.
Designing the schema I had JAXB java data binding in mind and the possibility to extend handle data types, especially using xml-formatted data in the data section of handle values. I also wanted the representation of handle values in instance documents to be human readable so that clients can easily deal with the semantics of handles.
Have a look at the handle_schema.zip. The schema files are commented und you will also find an example which demonstrates custom datatypes usage.
Couldn’t find it explicitly stated anywhere probably because it’s quite simple (watch \linebreaks):
<xsd:simpleType name="urnType">
<xsd:annotation><xsd:documentation>
Regular expression to validate RFC 2141 URN syntax.
"urn:[a-zA-Z0-9][a-zA-Z0-9-]{1,31}:([a-zA-Z0-9()+,.:\linebreak
=@;$_!*'-]|%[0-9A-Fa-f]{2})+"
</xsd:documentation></xsd:annotation>
<xsd:restriction base="xsd:anyURI">
<xsd:pattern
value="urn:[a-zA-Z0-9][a-zA-Z0-9-]{1,31}:\linebreak
([a-zA-Z0-9()+,.:=@;$_!*'-]|%[0-9A-Fa-f]{2})+"
/>
</xsd:restriction>
</xsd:simpleType>