[Expat-bugs] [ expat-Bugs-1526052 ] '<' char in argument string?

SourceForge.net noreply at sourceforge.net
Thu Jul 20 19:57:51 CEST 2006


Bugs item #1526052, was opened at 2006-07-20 17:56
Message generated for change (Settings changed) made by davarlearn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1526052&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
>Priority: 7
Submitted By: Davar Learn (davarlearn)
Assigned to: Nobody/Anonymous (nobody)
Summary: '<' char in argument string?

Initial Comment:
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


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1526052&group_id=10127


More information about the Expat-bugs mailing list