Fix the implementation

The document must return value and dont do a fallback
Implement the fallback on the parser instead
TODO++
More ns prefix:value handling