#2 Incorrect processing of "/" inside argument value

closed
nobody
None
5
2006-02-03
2005-08-10
Anonymous
No

Subroutine xml_get process "/" as tag end even within
double quotes.
Example:
<DPA_Rate value="1.0D-6" unit="dpa/s"/>
The following values will be retured by xml_get
tag='DPA_Rate'
attribs(1,1)='value'
attribs(1,2)='1.0D-6'
attribs(2,1)='unit'
attribs(2,2)='dpa' ! Note here cutting of "/s" after "/"

Discussion

  • Arjen Markus

    Arjen Markus - 2005-09-28

    Logged In: YES
    user_id=400048

    I will have to change the way attribute values are parsed.
    Other special characters (<, > and ") will presumably cause
    similar problems

     
  • Arjen Markus

    Arjen Markus - 2005-10-04

    Logged In: YES
    user_id=400048

    Could not reproduce this - at least not with the current version

     
  • Arjen Markus

    Arjen Markus - 2006-02-03

    Logged In: YES
    user_id=400048

    Closing this: the current version seems to handle this
    correctly (see the testcases)

     
  • Arjen Markus

    Arjen Markus - 2006-02-03
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks