Menu

#2 issue in unary nodes parsing

open
nobody
None
5
2004-01-25
2004-01-25
No

Hi,

I experienced problems in parsing unary nodes without
attributes or a space before the closing bracket.

<node/> is NOT OK: parsed as "nod"
<node attr="xx"/> is OK: parsed as "node"
<node /> is OK: parsed as "node"

This patch fixes the Document.pm "fromSubStringBT"
function regexp to parse unary nodes (without other
embedded nodes).

Best regards,
Frank

Discussion

  • Frank Diebolt

    Frank Diebolt - 2004-01-25
     
  • Frank Diebolt

    Frank Diebolt - 2004-01-25

    Logged In: YES
    user_id=744788

    Forgot that the form requires HTML, here is the patch
    description update:

    &lt;node/&gt; is NOT OK: parsed as "nod"
    &lt;node attr="xx"/&gt; is OK: parsed as "node"
    &lt;node /&gt; is OK: parsed as "node"

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.