Is DotDot intended to replace the ZigBee application layer? (commands and attributes) If so is it also lightweight? By the way I don't get why they call it "open" when you have to be part of the alliance before you can access the specifications.
Yes, DotDot is a mapping of the ZCL onto CoAP, and is carried over IPv6. It is essentially the separation of ZigBee’s networking later from their application layer.
ZCL is not exactly RESTful, so running it with URIs over CoAP is still a little weird. It’s main advantage is being able to run all the same application code on your devices, regardless of networking (WiFi, Thread, BT, or ZigBee).
I don’t know how that will turn out in practice, but ZCL has wide adoption, and Thread required you to develop your own application layer. So, it has great potential, I guess.