parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

Bug с xml

dRmx 16.10.2003 06:34

Unhandled Exception (Debug)
Entity: line 9: error: xmlParseStartTag: invalid element name
< id="93" vote_count="45">
^
Entity: line 11: error: Ending tag error for: s line 7
</>
^
Entity: line 13: error: xmlParseStartTag: invalid element name
< id="94" vote_count="0">
^
Entity: line 15: error: Ending tag error for: poll line 5
</>
^
Entity: line 17: error: xmlParseStartTag: invalid element name
< id="95" vote_count="0">
^
Entity: line 19: error: Ending tag error for: document line 2
</>
^
Entity: line 21: error: Extra content at the end of the document
< id="96" vote_count="200">
^

create

w:/home/localhost/www/poll/poll.p(341)
exception.type=xml
@transform[xslt_file;xml_code][xslt_file;xml_code;document;transformedDoc]
$document[^xdoc::create{<?xml version="1.0" encoding="$response:charset"?> 
<document>
	^untaint{$xml_code}
</document>}] 
$transformedDoc[^document.transform[$xslt_file]]
^transformedDoc.string[
		$.method[html]
		]