Attribute Parser

  • + 2 comments

    Hi! So what is the correct behavior for queries without tilde? I guess there are some more inaccuracies in the descreption as I have the following custom input which works great, but any test case other than default fails:

    12 8
    <tag1 value = "HelloWorld">
    	<tag2 name = "Name1">
    		<tag3 name = "Name3">
    		</tag3>
    		<tag4 name = "Name4" text = "Super">
    			<tag6 buzz = "Buzz6">
    			</tag6>
    		</tag4>
    		<tag5>
    		</tag5>
    	</tag2>
    </tag1>
    tag1.tag2~name
    tag1~name
    tag1~value
    tag1.tag2.tag3~name
    tag1.tag2.tag3~value
    tag1.tag2.tag4~text
    tag1.tag2.tag4.tag6~text
    tag1.tag2.tag4.tag6~buzz
    

    As you see it has multilevel nesting, multiple attributes support, no attributes support (tabs are added for better visibility). Confused...