Re: expat/tests runtests.c,1.43,1.44

"Karl Waclawek" <[email protected]>
Newsgroups gmane.text.xml.expat.cvs
Message-ID <003101c2c3bf$022eda30$9e539696@citkwaclaww2k>

> 
> Karl Waclawek writes:
>  > you said the test didn't work for you.
>  > This patch doesn't show if the parser instance you are using
>  > was created with namespace processing turned on.
> 
> It was; the parser being tested in test_ns_prefix_with_empty_uri_[12]
> (in the test patch on SF, not committed to CVS) is created using
> namespace_setup, which uses XML_ParserCreateNS.
> 
>  > > Modified Files:
>  > > runtests.c 
>  > > Log Message:
>  > > Add a test that makes sure xmlns:prefix="" is allowed when namespace
>  > > processing is not enabled.
> 
> Wrong patch; this test works as expected.

Should have looked more closely before.
You are using thee wrong type of document.

xmlns='' is OK, but xmlns:pre='' is not.

This is Jeremy's test document:

<?xml version='1.0'?> 
<docelem xmlns:pre=""/> 


Karl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.