I've written an XML Schema document that describes the XML portion of the WebDAV protocol (IETF RFC 2518). WebDAV requires a namespace URI of "DAV:", which xjc chokes on, even with the -nv switch. Is this an issue that has a workaround or a planned solution?
----
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dav="DAV:" targetNamespace="DAV:">
...
</schema>
----
$ xjc -nv -p example.package webdav.xsd
parsing a schema...
attribute "targetNamespace" has a bad value: "DAV:" does not satisfy the "anyURI" type
line 3 of webdav.xsd
Failed to parse a schema.