[xml] undeclared prefix not reported



[xmllint on Windows using libxml version 20510]

Hi

When I feed

<?xml version="1.0"?>
<foo>
  <bar h:bar="main"/>
</foo>

to

xmllint --noout -

I get no error telling me about the undeclared prefix.
(since xmllint is namespace aware I thought it would require xmlns:h="...")

Is this a bug?

Tobi

--
http://www.pinkjuice.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]