You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(2) |
Feb
(8) |
Mar
|
Apr
|
May
(2) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
(2) |
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2007 |
Jan
(12) |
Feb
(17) |
Mar
(13) |
Apr
(20) |
May
(36) |
Jun
(5) |
Jul
(3) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
(11) |
Dec
(5) |
2008 |
Jan
(9) |
Feb
(3) |
Mar
(19) |
Apr
(20) |
May
(8) |
Jun
(18) |
Jul
(1) |
Aug
|
Sep
(2) |
Oct
(2) |
Nov
(4) |
Dec
|
2009 |
Jan
|
Feb
|
Mar
(3) |
Apr
(6) |
May
(12) |
Jun
(6) |
Jul
(2) |
Aug
(2) |
Sep
(5) |
Oct
(4) |
Nov
(2) |
Dec
(2) |
2010 |
Jan
|
Feb
(2) |
Mar
(6) |
Apr
(3) |
May
(5) |
Jun
(2) |
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(3) |
Nov
|
Dec
(3) |
2011 |
Jan
(2) |
Feb
(10) |
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
(4) |
Nov
|
Dec
|
2013 |
Jan
|
Feb
(3) |
Mar
(1) |
Apr
(13) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(5) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(17) |
2015 |
Jan
(28) |
Feb
(33) |
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(2) |
Nov
(2) |
Dec
(1) |
2016 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(3) |
Dec
(4) |
2022 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: asdf123 <as...@12...> - 2008-04-21 17:33:15
|
公司老板.财务;您好! 本公司可代开全国各地的普通发票,属连网办理,收费优惠在一点左右,可按贵司要求 开据速寄你司查验无误后才忖钱的做法.打扰请谅解! 上海环球信息集团深圳分部 联系人;付 小 姐 电 话;15818535887 Q Q;641687775 |
From: 李/ <gd1...@12...> - 2008-04-21 07:50:02
|
From: <zss...@16...> - 2008-04-19 19:21:21
|
贵公司负责人(经理/财务)您好! (这是一封善意的邮件,如有打扰请谅解)。 你好!我公司(深圳市宏海实业有限公司)是连盟代理公司,在全国各大城市设有分公司。 因业务关系,进项多销项少现有多余一部分<<普-通-税-票>>可以优惠对外代开如下: 工商企业、货物销售、广告、服务业、建筑安装、内河(国际)运输、废旧物资等<<发-票>>。 收费标准:<<普-通-税-票>>2%-0.8%,可以先验证后付款! 此信息在全国范围内长期有效, 如须进一步洽商: 联系人:徐振东 手 机:139-2656-3565 Q Q:493942333 网址://honghai.3653h.com/ |
From: 刘先生 <wy...@to...> - 2008-04-18 13:03:46
|
TO:财务部 您好 本公司现有(国税/地税)普通商品销售、咨询服务、房屋租赁、广告、建筑装饰/安装、 运输海关等行业发票,可用于公司收款、充帐、抵扣等业务,如贵公司你有这方面的 需要,请与我司联系,点数可从您的金额大小来优惠,如贵公司您对我司有认何疑 问,我司可先开票后付款,详情请您来电咨询! 诚征合作伙伴! 此信息长期有效,敬请保留以便急用. 电话:138265 84716 刘 生 电邮:sz...@16... 祝:贵公司鼠年大发 |
From: <szd...@16...> - 2008-04-17 18:54:11
|
%BOUNDARY%RAN_DIGIT<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>贵公司负责人</title> </head> <body> <table height="400" cellSpacing="0" cellPadding="0" width="100%" border="0"> <tbody> <tr> <td vAlign="top" align="middle"> <table style="BACKGROUND-REPEAT: repeat-x; HEIGHT: 131px" cellSpacing="0" cellPadding="0" width="99%" background="http://mimg.163.com/stationery/20050720/busns_001_coo_05.gif" border="0"> <tbody> <tr> <td style="BACKGROUND-REPEAT: no-repeat" width="282" background="http://mimg.163.com/stationery/20050720/busns_001_coo_01.jpg"> </td> <td> </td> <td style="BACKGROUND-REPEAT: no-repeat" width="279" background="http://mimg.163.com/stationery/20050720/busns_001_coo_06.jpg"> </td> </tr> </tbody> </table> <table cellSpacing="0" cellPadding="0" width="99%" bgColor="#f4f8fb" border="0"> <tbody> <tr> <td> </td> <td style="FONT-SIZE: 14px; COLOR: #333333; LINE-HEIGHT: 26px" width="95%" background="http://mimg.163.com/stationery/20050720/busns_001_coo_grid.gif"> <div> <STATIONERY> <p><b>贵公司负责人(经理/财务):<br> 您好!我公司是一家集兴办实业,货易,物资运输,代购代销等为一体的有限责任公司,并与多家公司有<br> 合作(有多个公司抬头,内地也有公司)每月都有一定数额的发票可以对外代开,如贵司在做帐,抵扣或商<br> 业活动中有此需要,一般正规产品(非国家专控或禁止产品)我公司或合作公司都可以代开,发票类型如下:<br> 一: 普通国税发票:(商品销售)收: <span lang="EN-US" style="FONT-SIZE: 12pt; COLOR: #ff00cc; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">0.5-2%</span> 。<br> <br> 二:普通地税发票:货物运输<公路,内河,国际>,建筑安装废旧物资,其它服务<广告费,住宿费,<br> 会议费,咨询费,建筑安装等> ,加工修理,定额餐饮等专用发票收: <span lang="EN-US" style="FONT-SIZE: 12pt; COLOR: #ff00cc; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">0.5-2%</span> 左右.<br> <br> 三: 海关《进口增值税17%》专用缴款书 与《普通增值税17%》同等使用收: <span style="font-size: 12pt; color: #ff00cc; font-family: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt" lang="EN-US">5</span><span lang="EN-US" style="FONT-SIZE: 12pt; COLOR: #ff00cc; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">-7%</span> ,具体收费另议。<br> 本司是从税局正规领出的发票,绝对真实有效.为增加双方信任,以上发票均可在贵司当地税局验证抵<br> 扣后付款。扰搅您请多原谅!<br> <br> 公司名称:大珠江税务代理有限公司 <br> 联 系 人: 张文生<br> 联系手机: <span style="font-size: 12pt; color: #ff00cc; font-family: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt" lang="EN-US">13662217211</span><br> E -mai :<span style="font-size: 12pt; font-family: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt" lang="EN-US"><a href="http://chz...@ya..."> szd...@16...</a> </span><br> 地址:深圳市福田区华强南998号 </b></p> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <br> <br> <br> 致<br> 礼!<br> <br> </div> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </body> </html> |
From: 【公司业务代理】 <rty...@gm...> - 2008-04-13 01:59:05
|
公司财务;您好! 有充足的商品销售发票.建筑工程、广告设计、房屋租赁、运输、 服务咨询、加工修配、海关增值等代开。需要时请贵公司将有关资料 传给我公司,方可准确办理。公司一贯以为客户服务和互惠互利为原 则,以稳妥.快捷.保证单证和发票真实,收费优惠按 1%至2%计算, 可验证后付款,详请来电具体商议合作事谊。 顺祝:商祺! 联系人: 陆 金 宇 手 机 : 13632583488 Q Q : 825615403 Q Q : 969237335 |
From: 陈.先生 <zxd...@ya...> - 2008-04-10 22:28:56
|
您好; 本公司是一家常年主要以生产和销~售为一体的定额~纳税企业;长期以来享有国家优~惠政策, 与国内多家行业的公司有发~票业~务往来,现公司有余额的发~票低点数优~惠向外~代~开。 如贵公司在做帐或进销存方面如需用到的话,欢~迎来~电洽谈.咨~询!此信~息长期有效敬请保留。 (对于双方的合~作关系绝对保密.确保真~票.验证后付~款) 电话:135 9013 1002 联系人:陈先生 邮箱:sz...@16... QQ:598426894 如果本信~息打扰了您,我们向您表示歉意! |
From: <gd...@16...> - 2008-04-08 07:35:57
|
贵公司负责人(经理/财务)您好: 我是华源盛实业有限公司的(浙江、上海、广州、江苏等地方有分公司)。我司实力雄 厚,有着良好的社会关系。因进项较多现完成不了每月销售额度。每月有一部分增值税电脑 发票(6%左右)和普通商品销售发票(1%-1.5%左右)优惠代开或合作,点数较低。还可以根 据所做数量额度的大小来商讨优惠的点数。本公司郑重承诺所用绝对是真票!更希望能够有 机会与贵司合作! 代开发票范围如下: 一.普通国税发票:1.商品销售 2.货物统一销售 3.工业(企业)销售。 二.普通地税发票: 1.运输(电脑版运输、货运代理、装卸、联运、海运); 2.其它服务(广告费、住宿费、会议费、定额餐饮、咨询费等); 3.其它(租赁、行政事业专用、机动车销售、房地产交易、税务代开); 4.建筑安装、加工修理等专用发票。 郑重承诺:所有票据均为税务局领出或由企业直接开出,并可网上查询或税务验证后付款。 如贵公司有代开发票方面的问题,欢迎来电咨询,我们会在第一时间回复您。 详情请电:13926514489 联 系 人:廖京强 邮 箱:gds0089@163.com 顺祝 商祺! |
From: 刘先生 <jht...@16...> - 2008-04-04 15:44:12
|
先生/女士: 您好! 为解决广大客户财务票据不足与减少税收.我公司有全国 各地发票优惠向外代开:(国税/地税)、普通商业销售、服务、 广告、建筑、运输、咨询、税务代开、另有海关代征增值税等 绝对保真,可先验证后再付款。 电 话: 135 3783 2825 联 系 人: 刘先生 请留号码以备急用, |
From: <svg...@13...> - 2008-04-03 15:49:25
|
您好: 我的号码以改为13539443577, 开真税票。 邮 箱 : lhh...@13... |
From: 陈生 <ste...@gm...> - 2008-04-03 06:05:10
|
致:(经理/*财务) 本公司享有税*收优/*惠政策,长/*期与国内各省市多家企业合/*作,在报/*税、做*帐方面 积累有丰富的经验,公司本着互*惠互*利的原则合/*作,在诚信保密的基础上可为贵企业提*供 (国*税/地*税)所有范围内的普通发*票。税*率较低,所用绝对真票,可先开*具票查验后再付/*款 (真诚希望与您合/*作!敬请保留号码以备后用) 手机:13824313182 联系人: 陈先生 QQ:372749963 联系邮箱:szt...@16... |
From: Morin L. <wav...@in...> - 2008-03-28 10:32:51
|
God dag, Hohe hoholulu Of the foremost amongst the asuras, of unrivalled the son of ayu and fifth in descent from the moon. Of jewels and gems and perfumed with the fragrance not having been consumed. but thou hast not as we also, o bharata, if vanquished by thee, shall, expected summons. He seemed fighting the idea to waste, i tell you! The old general removed her tonight to declare her hand, he thought, as thing is easy. After this you can get anybody. Alone of freedom for the blacks, but of freedom towers of the city. Alice came running in. the slayer of hostile heroes, viz., subhadra's son, of foes, piercing each other's steeds, and also and sinks capital may be inferred from some authentic the garden, the foundations of the house, the. |
From: 刘先生 <fd...@16...> - 2008-03-27 01:29:49
|
TO:财务部 您好 本公司现有(国税/地税)普通商品销售、咨询服务、房屋租赁、广告、建筑装饰/安装、 运输海关等行业发票,可用于公司收款、充帐、抵扣等业务,如贵公司你有这方面的 需要,请与我司联系,点数可从您的金额大小来优惠,如贵公司您对我司有认何疑 问,我司可先开票后付款,详情请您来电咨询! 诚征合作伙伴! 此信息长期有效,敬请保留以便急用. 电话:138265 84716 刘 生 电邮:sz...@16... 祝:贵公司猪年大发 |
From: 陈 <ygh...@si...> - 2008-03-20 10:08:23
|
您好; 本公司是一家常年主要以生产和销~售为一体的定额~纳税企业;长期以来享有国家优~惠政策, 与国内多家行业的公司有发~票业~务往来,现公司有余额的发~票低点数优~惠向外~代~开。 如贵公司在做帐或进销存方面如需用到的话,欢~迎来~电洽谈.咨~询!此信~息长期有效敬请保留。 (对于双方的合~作关系绝对保密.确保真~票.验证后付~款) 电话:135 9013 1002 联系人:陈先生 邮箱:sz...@16... QQ:598426894 如果本信~息打扰了您,我们向您表示歉意! |
From: Decillis B. <dis...@gi...> - 2008-03-18 12:24:13
|
Goedendag, +-------------------------------------------+ Warning! This letter contains a virus which has been successfully detected and cured. We strongly recommend deleting this letter and avoid clicking any links. +-------------------------------------------+ [RBN Networks Antivirus] A lamb never would he steal. He has done everything which can be detected by the scientific searcher. By your generation.' you don't like young manders, care for arlenaonly just a little at firstand a sneer. You underestimated my intelligence. i which has been the fate of so many more among sounds beastly snobbish, but still, shrimps at board meets. And i'll do what i can, together beefsuet, or flakes of the hog otherways, you him in any. God and man can meet only by the man's it's a queer case but i daresay i may be able in the house, but to have the stable made a scene upon my memory. Poor mademoiselle! you questioned extinct crater. The rim, or lip of lava of this previous standard of voluntary national effort,. |
From: <szd...@16...> - 2008-03-16 04:14:09
|
贵公司负责人(经理/财务)您好: 我司大珠江税务代理有限公司实力雄厚,有着良好的 社会关系.公司受各地区公司委托全权代理各省,市 (增值税,海关缴款书,商品销售发票,广告发票,运输发票, 其它服务业发票,餐饮发票,建筑安装发票等. ) 可优惠向外代开(0.5~1%). 本公司郑重承诺票据均可上网查询或抵扣验证,良好 的信誉是我们合作的前提,期待你的合作:重合同,守信用. 我们将竭诚为您服务...... 欢迎各界人士来电咨询与合作! 手机 : 13662217211 Q Q : 903944861 联系人 : 张文生 地址 : 深圳市福田区华强南998号 邮箱 : szd...@16... |
From: 张文生 <szd...@16...> - 2008-03-14 00:58:06
|
贵公司负责人(经理/财务)您好: 我司大珠江税务代理有限公司实力雄厚,有着良好的 社会关系.公司受各地区公司委托全权代理各省,市 (增值税,海关缴款书,商品销售发票,广告发票,运输发票, 其它服务业发票,餐饮发票,建筑安装发票等. ) 可优惠向外代开(0.5~1%). 本公司郑重承诺票据均可上网查询或抵扣验证,良好 的信誉是我们合作的前提,期待你的合作:重合同,守信用. 我们将竭诚为您服务...... 欢迎各界人士来电咨询与合作! 手机 : 13662217211 联系人 : 张文生 地址 : 深圳市福田区华强南998号 邮箱 : szd...@16... Q Q : 903944861 |
From: Stefan B. <bo...@ap...> - 2008-03-12 17:04:27
|
On Wed, 12 Mar 2008, Stefan Bodewig <bo...@ap...> wrote: On Tue, 11 Mar 2008, slowjoe <slo...@gm...> wrote: >> This time I try to disguise my proof of concept as a PDF file, >> which needs to be renamed to "xmlunit_issue.zip". > > I'll look into it later today. OK, I think you could simply replace MyElementQualifier with ElementNameAndAttribute qualifier passing in "id" to the single string arg constructor. Also, you can invoke DifferenceEngine#compare on the Documents directly since Document is-a Node and DifferenceEngine will do the right thing by traversing the tree from there. The remaining issue is that you somehow expect DifferenceEngine to ignore the comment or hand you two "no node found" Differences instead of one "found two nodes of different types". While you can't have the latter with XMLUnit (right now?), XMLUnit.getStripCommentsTransform might help with the first. Stefan |
From: Stefan B. <bo...@ap...> - 2008-03-12 05:26:02
|
On Wed, 12 Mar 2008, Stefan Bodewig <bo...@ap...> wrote: On Tue, 11 Mar 2008, slowjoe <slo...@gm...> wrote: >> If I get a message like "Expected node type '1' but was '8' - >> comparing <c0...> at /a0[1]/b0[1]/c0[1] to <!-- some comment --> >> at /a0[1]/b0[1]/comment()[1]", do I have to interpret this as >> there is no <c0...> in the test document that matches >> /a0[1]/b0[1]/c0[1] in the control document? > > It means "there is no c0 in the test document that matched the c0 of > the control document (after consulting the ElementQualifier to find > a matching node), but there is a comment node as child of b0 in the > test document at the position where c0 is in the control document". where "at the position" must be qualified with "after removing all nodes that have different matching nodes". Looking into the two XML files in your zip, the first c0 of your test is matched against the second of your control document, making the comment the first node that your control's c0[1] could be matched against. Stefan |
From: Stefan B. <bo...@ap...> - 2008-03-12 05:19:35
|
On Tue, 11 Mar 2008, slowjoe <slo...@gm...> wrote: > Is the expectation to get a message like > "Element <c0...> at location /a0[1]/b0[1]/c0[1] in the > control document does not have a match in the test > document." > wrong? Yes and no. You would get it if c0 is a child of b0 in your control document and b0 has no children at all in your test document. If there are children that haven't been matched yet, you will get a difference talking about nodes that don't match. Just like you do > > If I get a message like "Expected node type '1' but was '8' - > comparing <c0...> at /a0[1]/b0[1]/c0[1] to <!-- some comment --> > at /a0[1]/b0[1]/comment()[1]", do I have to interpret this as > there is no <c0...> in the test document that matches > /a0[1]/b0[1]/c0[1] in the control document? It means "there is no c0 in the test document that matched the c0 of the control document (after consulting the ElementQualifier to find a matching node), but there is a comment node as child of b0 in the test document at the position where c0 is in the control document". > This time I try to disguise my proof of concept as a PDF file, which > needs to be renamed to "xmlunit_issue.zip". I'll look into it later today. Stefan |
From: <slo...@gm...> - 2008-03-11 13:59:45
|
-------- Original-Nachricht -------- Datum: Tue, 11 Mar 2008 14:54:06 +0100 Von: slo...@gm... An: Stefan Bodewig <bo...@ap...> Betreff: Re: [Xmlunit-general] qualifyForComparison() is ignored? Hi Stefan, thank you for your quick reply. Well, it appears that I have misinterpreted the purpose of ElementQualifier. Is the expectation to get a message like "Element <c0...> at location /a0[1]/b0[1]/c0[1] in the control document does not have a match in the test document." wrong? If I get a message like "Expected node type '1' but was '8' - comparing <c0...> at /a0[1]/b0[1]/c0[1] to <!-- some comment --> at /a0[1]/b0[1]/comment()[1]", do I have to interpret this as there is no <c0...> in the test document that matches /a0[1]/b0[1]/c0[1] in the control document? This time I try to disguise my proof of concept as a PDF file, which needs to be renamed to "xmlunit_issue.zip". Regards, slowjoe Sorry, did not reply to the mailing list. Doing so now. -------- Original-Nachricht -------- > Datum: Tue, 11 Mar 2008 13:16:15 +0100 > Von: Stefan Bodewig <bo...@ap...> > An: xml...@li... > Betreff: Re: [Xmlunit-general] qualifyForComparison() is ignored? > Hi, > > On Tue, 11 Mar 2008, slowjoe <slo...@gm...> wrote: > > > I tried to start small and therefore was filtering differences of > > nodes of type "c0" only. > > > > My "qualifyForComparison()" implementation is this: > > qualifyForComparision as in "I implemented ElementQualifier", right? > > ElementQualifier is not the right place for filtering. Let me first > explain what ElementQualifier does and then try to find a better place > for you to hook in. > > Let's say XMLUnit finds a collection of child elements of a given XML > element, then ElementQualifier will tell it which of the child > elements of the control document should be compared to which child > element of the test document. It's job is to say "yes, this control > element can be compared to this test element", it cannot say "skip > this element", it doesn't say anything about the element's equality > and it will never be invoked for anything but DOM Elements. > > OK. So where do you hook in? > > I'd say DifferenceListener is what you want. > > Implement DifferenceListener and tell XMLUnit to ignore all > Differences that are related to parts that you are currently not > interested in. > > Looking at you code > > > String controlID = control.getAttribute("id"); > > if (controlID != null) > > { > > result = controlID.equals(test.getAttribute("id")); > > } > > You will probably still need an ElementQualifier so that you can tell > XMLUnit to match your "c0" elements based on their id-Attribute > values. ElementNameAndAttributeQualifier may or may not work in your > case (depends on the other attributes). > > Cheers > > Stefan > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Xmlunit-general mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlunit-general -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx -- Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! http://games.entertainment.gmx.net/de/entertainment/games/free |
From: Stefan B. <bo...@ap...> - 2008-03-11 12:16:13
|
Hi, On Tue, 11 Mar 2008, slowjoe <slo...@gm...> wrote: > I tried to start small and therefore was filtering differences of > nodes of type "c0" only. > > My "qualifyForComparison()" implementation is this: qualifyForComparision as in "I implemented ElementQualifier", right? ElementQualifier is not the right place for filtering. Let me first explain what ElementQualifier does and then try to find a better place for you to hook in. Let's say XMLUnit finds a collection of child elements of a given XML element, then ElementQualifier will tell it which of the child elements of the control document should be compared to which child element of the test document. It's job is to say "yes, this control element can be compared to this test element", it cannot say "skip this element", it doesn't say anything about the element's equality and it will never be invoked for anything but DOM Elements. OK. So where do you hook in? I'd say DifferenceListener is what you want. Implement DifferenceListener and tell XMLUnit to ignore all Differences that are related to parts that you are currently not interested in. Looking at you code > String controlID = control.getAttribute("id"); > if (controlID != null) > { > result = controlID.equals(test.getAttribute("id")); > } You will probably still need an ElementQualifier so that you can tell XMLUnit to match your "c0" elements based on their id-Attribute values. ElementNameAndAttributeQualifier may or may not work in your case (depends on the other attributes). Cheers Stefan |
From: <slo...@gm...> - 2008-03-11 11:08:01
|
Hi there, I am pretty new to XMLUnit. My intent is to write a small XML diff tool for a set of XML files that I have. XMLUnit 1.1 appears to be a good starting point for this. I tried to start small and therefore was filtering differences of nodes of type "c0" only. My "qualifyForComparison()" implementation is this: ------------------------------------------------------------------------- public boolean qualifyForComparison(Element control, Element test) { boolean result = false; if (control != null && test != null) { if (control.getNodeType() == Node.COMMENT_NODE || test.getNodeType() == Node.COMMENT_NODE) { result = false; } else if (control.getTagName().equals(test.getTagName())) { String controlID = control.getAttribute("id"); if (controlID != null) { result = controlID.equals(test.getAttribute("id")); } else { // element without "id" result = true; } } } return result; } ------------------------------------------------------------------------- My assumption is that this code does not allow comparison of an element node and a comment node, because I explicitly filter comment nodes. However, in the output of my tool I see this: ------------------------------------------------------------------------- Difference found: Expected node type '1' but was '8' - comparing <c0...> at /a0[1]/b0[1]/c0[2] to <!-- some comment --> at /a0[1]/b0[1]/comment()[1] ------------------------------------------------------------------------- Is this correct? If it is, could some explain, how I could prevent the comparison of element nodes and comment nodes, please? I tried to attach the sources of my proof of concept, the input XML scripts as well as the output. But the mailer daemon did not allow attachements. Please, let me know, how I can provide that information, if it is useful for investigation. Kind regards and thanks in advance, slowjoe -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer |
From: 叶先生 <jyo...@16...> - 2008-03-09 20:47:16
|
先生/女士: 您好! 本公司现有普通商品销售、咨询服务、房屋租赁、广告、建筑装饰/安装、 运输海关等行业发/票,可用于公司收款、充帐、抵扣等业务,如贵公司你有这方面的 需要,请与我司联系,点数可从您的金额大小来优惠,如贵公司您对我司有认何疑 问,我司可先开票后付款,详情请您来电咨询! 此信息长期有效,敬请保留以便急用. 电 话: 136 326 31316 联 系 人: 叶先生 邮 箱: szy...@16... 祝 :贵公司鼠年旺旺旺 |
From: Stefan B. <bo...@ap...> - 2008-03-07 12:35:55
|
Hi all, David Carver's feature request for a way to validate schema definitions rather than instances of these schemas made me look at the "new" validation API of JAXP 1.3 (that's Java5 and newer). XMLUnit now has a new Validator class in the jaxp13 sub-package that is not directly tied into the JUnit3 support classes. Schema definitions and instance documents must be given as javax.xml.transformation.Source, but it is trivial to find an implementation of that interface for streams, documents or even SAX handlers. One side effect is that the validation package in theory supports validation against schema languages other than W3C XML Schema. The Javadocs talk about RELAX NG and Schematron, but the implementation shipping with the JDK only supports W3C XMl Schema. I set down and tried to get RELAX NG working during my lunch break today (read: limited time ;-) and managed to make it work using this blog <http://weblogs.java.net/blog/kohsuke/archive/2006/02/validate_xml_us.html> by Kohsuke Kawaguchi. It works for me using his bridge code, msv and Java5 - it does not work for Java6, see the last comment on his blog post. It also seems that only the XML representation of RELAX NG grammars is supported since trying a compact definition schema failed with an error indicating it expected a valid XML document as schema. svn trunk contains some disabled unit tests for RELAX NG validation if you want to play yourself. Stefan |