[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: An xsl:number problem
Michael Kay schrieb:
I've raised a bug report against the spec on this one, but I would be interested to know how various processors handle it. Please try it and report the results. The bug report is at Stylesheet: I changed the version to "1.0". I would be interested to know what other XSLT 1.0 or 2.0 processors do with this one. Here's the output for xsltproc/LibXSLT 1.1.22: <?xml version="1.0"?> <doc nr="0"> <a mark="true" nr="1"/> <a nr="2"/> <a nr="3"/> <a nr="4"/> <a mark="true" nr="1"/> <a nr="2"/> <a nr="3"/> <a nr="4"/> </doc> For Xalan-C 1.10: <?xml version="1.0" encoding="UTF-8"?> <doc nr="0"> <a mark="true" nr="0"/> <a nr="2"/> <a nr="3"/> <a nr="4"/> <a mark="true" nr="0"/> <a nr="6"/> <a nr="7"/> <a nr="8"/> </doc> And for Xalan-J 2.7.1: <?xml version="1.0" encoding="UTF-8"?><doc nr="0"> <a mark="true" nr="0"/> <a nr="2"/> <a nr="3"/> <a nr="4"/> <a mark="true" nr="0"/> <a nr="6"/> <a nr="7"/> <a nr="8"/> </doc> I think the intuitively correct result is:
Michael Ludwig
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|