#418 '<' char in argument string?

closed-rejected
nobody
None
7
2006-08-08
2006-07-20
Yafeh
No

This may be a problem with the parser, or it may be me
trying to go further than XML Standards?

im trying to store keyboard mapping data in arguments.

Here is some sample XML code using test data:

<?xml version="1.0" ?>
<keymap>
<desc lang="En" />
<sort type="non" />
<mappings>
<map src="b" dest="2" />
<map src="<" dest="6" /> # problem here
<map src="bc" dest="$1" />
<map src="e" dest="3" />
<map src="abd" dest="*" />
<map src="ad" dest="@" />
...
...
...
<map src="abd" dest="*" />
<map src="ad" dest="@" />
</mappings>
</keymap>

In this line the parser takes the '<' char to be the
start of the next tag, all further tags are mis aligned
and my handler ignores them as invalid data format.

<map src="<" dest="6" />

this may be how the program is ment to operate? If it
is, are there any other ways i can store a string
containing '<' characters. I need to be able to use all
asci(possibly some non asci) char's to store font
conversion mappings.

Im working on a sourceforge project and would be
greatfull of some feadback.

thanks for youre help

James

Discussion

  • Yafeh

    Yafeh - 2006-07-20
    • priority: 5 --> 7
     
  • Myron Turner

    Myron Turner - 2006-07-21

    Logged In: YES
    user_id=771029

    The parser expects src="&lt;" This will be converted back
    to '<' by the parser in the output.

     
  • Karl Waclawek

    Karl Waclawek - 2006-08-08

    Logged In: YES
    user_id=290026

    Not a bug, just an error in the document. Closing this issue.

     
  • Karl Waclawek

    Karl Waclawek - 2006-08-08
    • status: open --> closed-rejected
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks