Re: [xml-dev] Element equivalence under XML Namespaces

From
Mukul Gandhi <>
To
Date
2008-01-17T06:36:14Z
ID
<>
Thread
Re: [xml-dev] Element equivalence under XML Namespaces
On Jan 17, 2008 9:48 AM, Matthew Van Gundy
<> wrote:
> Would any XML/Namespaces guru be willing to answer the following
> question for me?  Is the following a well-formed XML document:
>
> <?xml version="1.0"?>
> <doc xmlns="http://foo.com/foo">
>   <foo:elem xmlns:foo="http://foo.com/foo">
>   </elem>
> </doc>

I thought, this is not well formed. Xerces-J 2.9.0 also reported so:

Line: 4, Column: 5, Message: The element type "foo:elem" must be
terminated by the matching end-tag "</foo:elem>".

-- 
Regards,
Mukul Gandhi