[ expat-Bugs-854603 ] When I parser a xml , i find a bugs

"SourceForge.net" <[email protected]>
Newsgroups gmane.text.xml.expat.bugs
Message-ID <[email protected]>
Bugs item #854603, was opened at 2003-12-05 04:20
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=854603&group_id=10127

Category: XML::Parser (inactive)
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: When I parser a xml , i find a bugs

Initial Comment:
When I parser a xml text like below. Expat return a
error. I can't find any error from it. I think the
parse may have some bugs.

<wml>
  <card id='card1'>
    <p align='center'>
          
	<table>
			
          <tr>
		    <td>1</td>
            <td><a
href="/socool/content.jsp?stitle=&ncatalog=1&sRow=&id=3839313637353833&tname=49505f44415441414c4c">text
here</a></td>
          </tr>
	</table>
    </p>
  </card>
</wml>


----------------------------------------------------------------------

>Comment By: Karl Waclawek (kwaclaw)
Date: 2003-12-05 09:04

Message:
Logged In: YES 
user_id=290026

This xml text is not well-formed. Example:
"&ncatalog" needs to be terminated with a semi-colon,
as & is a reserved character used for entity references.

If you want to use & literally, you have to escape it with
&amp; as the other message already told you.

Closed since this is not a bug.


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2003-12-05 04:39

Message:
Logged In: NO 

you have to encode the "&" sign. you have to use "&amp;" 
instead.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2003-12-05 04:37

Message:
Logged In: NO 

I have try it again.
The parser report error when parse tag "<a>". Please test it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=854603&group_id=10127
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.