[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Mukul Gandhi" <gandhi.mukul@g...>
  • To: xml-dev@l...
  • Date: Thu, 17 Jan 2008 12:06:14 +0530

On Jan 17, 2008 9:48 AM, Matthew Van Gundy
<matt-xmldev@s...> 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member