You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2005/06/22 22:01:32 UTC

[jira] Resolved: (XERCESC-1446) namespaces not handled correctly

     [ http://issues.apache.org/jira/browse/XERCESC-1446?page=all ]
     
Alberto Massari resolved XERCESC-1446:
--------------------------------------

    Resolution: Duplicate

It's a duplicate of XERCESC-1308, fixed after 2.6 came out. As for the missing namespace declaration, it's because the sample should also override the startPrefixMapping callback, as those attributes gets routed there.

Alberto

> namespaces not handled correctly
> --------------------------------
>
>          Key: XERCESC-1446
>          URL: http://issues.apache.org/jira/browse/XERCESC-1446
>      Project: Xerces-C++
>         Type: Bug
>   Components: SAX/SAX2
>     Versions: 2.6.0
>  Environment: WinXP - MSVC 6.0
> Linux RedHat 8.0 - GCC 3.2
>     Reporter: Fabio Angelini

>
> If I run SAX2Print sample with the following XML:
> <?xml version="1.0" encoding="utf-8"?>
> <?xml-stylesheet type="text/css" href="/SysConfig/Rules/Eidos/SoleOnLine3/articolo-lead.css"?>
> <dwp xmlns="http://www.w3.org" xmlns:html="http://www.w3.org/Profiles/XHTML-transitional">
> <table border="0" cellpadding="0" cellspacing="0" width="800">
> 	<tr>
> 		<td colspan="4">
> 			<html:img border="0" src="/foto_fisse/header.jpg" width="768" height="83"/>
> 		</td>
> 	</tr>
> </table>
> </dwp>
> The output is:
> <?xml version="1.0" encoding="LATIN1"?>
> <?xml-stylesheet type="text/css" href="/SysConfig/Rules/Eidos/SoleOnLine3/artico
> lo-lead.css"?><dwp>
> <table border="0" cellpadding="0" cellspacing="0" width="800">
>         <tr>
>                 <td colspan="4">
>                         <html:img border="0" src="/foto_fisse/header.jpg" width=
> "768" height="83"></html:img>
>                 </html:td>
>         </html:tr>
> </html:table>
> </html:dwp>
> <td> is closed as </html:td>
> <tr> is closed as </html:tr>
> Version 2.5.0 doens't aver this issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org