UPDATED - How do I get an avg in a range of year - oracle

I have 2 tables attendance and people.
I need to get the AVG of attendance by range of year.
To do that I need get the column people.DT_NASCIMENTO_FUNDACAO (DATE) and attendance.DT_SOLICITACAO_ATENDIMENTO (DATE).
The result this query should be something like:
-------------------------
| 0 - 18 | 19 - 23| ... |
-------------------------
| 0.2 | 0.8 | ... |
-------------------------
where 0.2 and 0.8 is a decimal representation of fraction of attendance by range of year.
people have CD_PESSOA PK and attendance have NU_USUARIO LIKE FK.
______ ____________
|PEOPLE| 1 ------------------> N | ATTENDANCE |
------- ------------
I created a code that count the numbers of time that a range of year happen:
SELECT
SUM(CASE
WHEN EXTRACT(YEAR FROM TO_DATE(P.DT_NASCIMENTO_FUNDACAO))
BETWEEN EXTRACT(YEAR FROM TO_DATE(G.DT_SOLICITACAO_ATENDIMENTO)) - 18
AND EXTRACT(YEAR FROM TO_DATE(G.DT_SOLICITACAO_ATENDIMENTO))
THEN 1 ELSE 0 END) AS "0 - 18",
SUM(CASE
WHEN EXTRACT(YEAR FROM TO_DATE(P.DT_NASCIMENTO_FUNDACAO))
BETWEEN EXTRACT(YEAR FROM TO_DATE(G.DT_SOLICITACAO_ATENDIMENTO)) - 23
AND EXTRACT(YEAR FROM TO_DATE(G.DT_SOLICITACAO_ATENDIMENTO)) - 19
THEN 1 ELSE 0 END) AS "19 - 23"
FROM ATTENDANCE G JOIN PEOPLE P
ON (G.NU_USUARIO = P.CD_PESSOA)
WHERE EXTRACT(YEAR FROM TO_DATE(G.DT_SOLICITACAO_ATENDIMENTO)) >= EXTRACT(YEAR FROM SYSDATE) - 1
AND EXTRACT(YEAR FROM TO_DATE(G.DT_SOLICITACAO_ATENDIMENTO)) <= EXTRACT(YEAR FROM SYSDATE);
As result I have:
Now, I need change this result to show me the percentual representation. How can I do that?
Here in this link I crate the sql file to create the tables and insert sample data(50 people and 2000 attendances).
Here we have some 50 sample data about born and 1000 attendance date.
people.DT_NASCIMENTO_FUNDACAO
01-07-2010
15-09-2014
10-07-1970
26-01-1989
02-05-1982
09-05-2009
25-08-2006
02-12-2013
08-04-2008
11-01-1962
01-05-1980
11-11-1993
15-07-2013
03-03-1990
09-10-2013
31-12-2008
25-07-2015
16-06-1972
03-11-1985
03-11-2006
19-03-1955
03-01-1974
08-01-2015
13-11-2003
07-01-1989
22-01-2007
30-11-1999
04-12-1970
24-05-1983
25-04-2012
11-11-1988
16-09-1980
21-05-1989
01-06-2011
14-09-1973
16-10-2015
10-02-2000
30-10-2004
27-02-1965
30-01-2015
23-05-1993
07-01-1987
04-03-1998
22-10-2011
17-12-1999
19-02-1955
21-07-1961
attendance.DT_SOLICITACAO_ATENDIMENTO
18-09-2020
21-09-2020
18-09-2020
18-09-2020
18-09-2020
18-09-2020
30-09-2020
30-09-2020
30-09-2020
14-09-2020
23-09-2020
18-09-2020
18-09-2020
18-09-2020
18-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
18-09-2020
21-09-2020
21-09-2020
04-09-2020
04-09-2020
04-09-2020
04-09-2020
04-09-2020
08-09-2020
08-09-2020
08-09-2020
09-09-2020
25-08-2020
25-08-2020
25-08-2020
25-08-2020
01-09-2020
01-09-2020
01-09-2020
01-09-2020
01-09-2020
01-09-2020
01-09-2020
01-09-2020
01-09-2020
08-09-2020
17-09-2020
08-09-2020
08-09-2020
08-09-2020
17-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
08-09-2020
21-09-2020
13-10-2020
04-09-2020
18-09-2020
18-09-2020
18-09-2020
18-09-2020
18-09-2020
18-09-2020
18-09-2020
18-09-2020
18-09-2020
18-09-2020
21-09-2020
21-09-2020
21-09-2020
18-09-2020
23-09-2020
18-09-2020
23-09-2020
18-09-2020
18-09-2020
18-09-2020
18-09-2020
18-09-2020
21-09-2020
21-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
29-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
28-09-2020
25-09-2020
25-09-2020
25-09-2020
25-09-2020
28-09-2020
24-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
16-09-2020
18-09-2020
03-08-2019
03-08-2019
03-08-2019
03-08-2019
02-08-2019
02-08-2019
02-08-2019
02-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
09-08-2019
22-08-2019
22-08-2019
22-08-2019
22-08-2019
22-08-2019
22-08-2019
22-08-2019
22-08-2019
22-08-2019
22-08-2019
22-08-2019
22-08-2019
22-08-2019
22-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
23-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
30-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
27-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
21-08-2019
09-08-2019
06-08-2019
17-07-2019
17-10-2020
17-10-2020
18-10-2020
19-10-2020
19-10-2020
19-10-2020
19-10-2020
19-10-2020
31-10-2020
31-10-2020
31-10-2020
31-10-2020
31-10-2020
31-10-2020
31-10-2020
31-10-2020
24-10-2020
24-10-2020
24-10-2020
24-10-2020
24-10-2020
24-10-2020
24-10-2020
24-10-2020
24-10-2020
24-10-2020
24-10-2020
24-10-2020
26-10-2020
26-10-2020
26-10-2020
26-10-2020
26-10-2020
26-10-2020
26-10-2020
26-10-2020
26-10-2020
26-10-2020
29-10-2020
29-10-2020
26-10-2020
26-10-2020
26-10-2020
26-10-2020
28-10-2020
28-10-2020
10-10-2020
10-10-2020
10-10-2020
10-10-2020
08-10-2020
08-10-2020
08-10-2020
08-10-2020
11-10-2020
11-10-2020
13-10-2020
13-10-2020
14-10-2020
14-10-2020
17-10-2020
17-10-2020
17-10-2020
16-10-2020
18-10-2020
18-10-2020
04-10-2020
04-10-2020
13-10-2020
13-10-2020
13-10-2020
09-10-2020
13-10-2020
09-10-2020
14-10-2020
14-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
01-10-2020
26-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
27-10-2020
07-10-2020
12-10-2020
10-10-2020
16-10-2020
16-10-2020
15-10-2020
10-09-2020
10-09-2020
10-09-2020
09-03-2020
09-03-2020
11-09-2020
11-09-2020
11-09-2020
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
19-06-2019
19-06-2019
19-06-2019
19-06-2019
19-06-2019
19-06-2019
19-06-2019
19-06-2019
19-06-2019
20-06-2019
20-06-2019
20-06-2019
20-06-2019
20-06-2019
20-06-2019
28-06-2019
28-06-2019
28-06-2019
28-06-2019
28-06-2019
28-06-2019
28-06-2019
28-06-2019
28-06-2019
28-06-2019
28-06-2019
28-06-2019
28-06-2019
28-06-2019
28-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
03-06-2019
03-06-2019
26-06-2019
26-06-2019
26-06-2019
26-06-2019
26-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
27-06-2019
14-06-2019
14-06-2019
29-06-2019
29-06-2019
29-06-2019
29-06-2019
29-06-2019
29-06-2019
29-06-2019
29-06-2019
29-06-2019
29-06-2019
29-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
30-06-2019
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
21-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
11-08-2021
11-08-2021
11-08-2021
11-08-2021
11-08-2021
11-08-2021
11-08-2021
11-08-2021
11-08-2021
11-08-2021
11-08-2021
11-08-2021
12-08-2021
12-08-2021
12-08-2021
12-08-2021
12-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
18-08-2021
18-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
20-08-2021
19-08-2021
19-08-2021
19-08-2021
18-08-2021
18-08-2021
18-08-2021
18-08-2021
18-08-2021
18-08-2021
18-08-2021
18-08-2021
18-08-2021
18-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
19-08-2021
30-11-2019
30-11-2019
30-11-2019
30-11-2019
30-11-2019
30-11-2019
11-11-2019
30-11-2019
27-11-2019
06-11-2019
06-11-2019
06-11-2019
06-11-2019
06-11-2019
06-11-2019
06-11-2019
07-11-2019
07-11-2019
07-11-2019
07-11-2019
07-11-2019
07-11-2019
07-11-2019
08-11-2019
08-11-2019
08-11-2019
08-11-2019
08-11-2019
08-11-2019
08-11-2019
08-11-2019
08-11-2019
11-11-2019
11-11-2019
12-11-2019
12-11-2019
12-11-2019
12-11-2019
30-10-2019
07-11-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
10-12-2019
28-11-2019
28-11-2019
28-11-2019
28-11-2019
28-11-2019
28-11-2019
28-11-2019
04-11-2019
04-11-2019
04-11-2019
04-11-2019
04-11-2019
25-11-2019
25-11-2019
25-11-2019
25-11-2019
25-11-2019
25-11-2019
25-11-2019
25-11-2019
26-11-2019
27-11-2019
27-11-2019
27-11-2019
27-11-2019
27-11-2019
27-11-2019
27-11-2019
27-11-2019
27-11-2019
27-11-2019
27-11-2019
27-11-2019
27-11-2019
27-11-2019
27-11-2019
28-11-2019
03-12-2019
06-11-2019
07-11-2019
07-11-2019
12-11-2019
26-11-2019
28-11-2019
11-11-2019
12-11-2019
12-11-2019
25-11-2019
02-12-2019
13-11-2019
28-11-2019
07-11-2019
07-11-2019
07-11-2019
01-11-2019
01-11-2019
01-11-2019
01-11-2019
01-11-2019
01-11-2019
04-11-2019
04-11-2019
07-11-2019
07-11-2019
25-11-2019
14-03-2019
14-03-2019
20-03-2019
20-03-2019
20-03-2019
20-03-2019
20-03-2019
20-03-2019
20-03-2019
20-03-2019
20-03-2019
18-03-2019
14-03-2019
14-03-2019
14-03-2019
14-03-2019
14-03-2019
14-03-2019
14-03-2019
18-03-2019
18-03-2019
18-03-2019
18-03-2019
14-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
15-03-2019
18-03-2019
01-03-2019
01-03-2019
01-03-2019
07-03-2019
07-03-2019
07-03-2019
07-03-2019
07-03-2019
07-03-2019
18-03-2019
18-03-2019
18-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
22-03-2019
14-03-2019
14-03-2019
14-03-2019
14-03-2019
14-03-2019
19-03-2019
15-01-2019
05-02-2019
20-03-2019
27-12-2018
13-02-2019
13-02-2019
13-02-2019
13-02-2019
29-01-2019
13-11-2018
22-03-2019
12-03-2019
13-02-2019
13-02-2019
17-01-2019
25-03-2019
21-03-2019
21-02-2019
26-03-2019
22-02-2019
22-02-2019
22-02-2019
22-02-2019
07-03-2019
07-03-2019
07-03-2019
07-03-2019
07-03-2019
25-03-2019
07-02-2019
07-02-2019
28-02-2019
28-02-2019
28-02-2019
28-02-2019
28-02-2019
28-02-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
13-03-2019
05-07-2019
08-07-2019
08-07-2019
08-07-2019
08-07-2019
08-07-2019
08-07-2019
08-07-2019
08-07-2019
08-07-2019
08-07-2019
08-07-2019
08-07-2019
08-07-2019
08-07-2019
05-07-2019
05-07-2019
05-07-2019
05-07-2019
05-07-2019
05-07-2019
05-07-2019
05-07-2019
05-07-2019
05-07-2019
05-07-2019
11-07-2019
11-07-2019
12-07-2019
12-07-2019
12-07-2019
12-07-2019
12-07-2019
12-07-2019
12-07-2019
12-07-2019
12-07-2019
11-07-2019
11-07-2019
11-07-2019
09-07-2019
11-07-2019
11-07-2019
11-07-2019
11-07-2019
How can I do that?

To solve my problem was necessary a group operation on database, incluse to create 2 temporary tables.
The solution to my case was:
WITH TABLE_X AS (
SELECT P.CD_PESSOA, P.DT_NASCIMENTO_FUNDACAO, TO_DATE(SYSDATE) AS DATA_ATUAL, TO_DATE(G.DT_SOLICITACAO_ATENDIMENTO),
EXTRACT(YEAR FROM SYSDATE) - EXTRACT(YEAR FROM TO_DATE(P.DT_NASCIMENTO_FUNDACAO)) AS IDADE
FROM ATTENDANCE G JOIN PEOPLE P
ON (G.NU_USUARIO = P.CD_PESSOA)
WHERE EXTRACT(YEAR FROM TO_DATE(G.DT_SOLICITACAO_ATENDIMENTO)) >= EXTRACT(YEAR FROM SYSDATE) - 1
AND EXTRACT(YEAR FROM TO_DATE(G.DT_SOLICITACAO_ATENDIMENTO)) <= EXTRACT(YEAR FROM SYSDATE)
ORDER BY IDADE DESC
),
TABLE_Y AS (SELECT
SUM(CASE WHEN IDADE BETWEEN 0 AND 18 THEN 1 ELSE 0 END) AS "0-18",
SUM(CASE WHEN IDADE BETWEEN 19 AND 23 THEN 1 ELSE 0 END) AS "19-23",
SUM(CASE WHEN IDADE BETWEEN 24 AND 28 THEN 1 ELSE 0 END) AS "24-28",
SUM(CASE WHEN IDADE BETWEEN 29 AND 33 THEN 1 ELSE 0 END) AS "29-33",
SUM(CASE WHEN IDADE BETWEEN 34 AND 38 THEN 1 ELSE 0 END) AS "34-38",
SUM(CASE WHEN IDADE BETWEEN 39 AND 43 THEN 1 ELSE 0 END) AS "39-43",
SUM(CASE WHEN IDADE BETWEEN 44 AND 48 THEN 1 ELSE 0 END) AS "44-48",
SUM(CASE WHEN IDADE BETWEEN 49 AND 53 THEN 1 ELSE 0 END) AS "49-53",
SUM(CASE WHEN IDADE BETWEEN 54 AND 58 THEN 1 ELSE 0 END) AS "54-58",
SUM(CASE WHEN IDADE >= 59 THEN 1 ELSE 0 END) AS "59+",
SUM(CASE WHEN IDADE IS NULL THEN 1 ELSE 0 END) AS "VALORES_NULL",
COUNT(IDADE) AS TOTAL_IDADE
FROM TABLE_X
)
SELECT
ROUND(("0-18" / TOTAL_IDADE) * 100, 2) ||'%' AS "0-18",
ROUND(("19-23" / TOTAL_IDADE) * 100, 2) ||'%' AS "19-23",
ROUND(("24-28" / TOTAL_IDADE) * 100, 2) ||'%' AS "24-28",
ROUND(("29-33" / TOTAL_IDADE) * 100, 2) ||'%' AS "29-33",
ROUND(("34-38" / TOTAL_IDADE) * 100, 2) ||'%' AS "29-33",
ROUND(("39-43" / TOTAL_IDADE) * 100, 2) ||'%' AS "34-38",
ROUND(("44-48" / TOTAL_IDADE) * 100, 2) ||'%' AS "44-48",
ROUND(("49-53" / TOTAL_IDADE) * 100, 2) ||'%' AS "49-53",
ROUND(("54-58" / TOTAL_IDADE) * 100, 2) ||'%' AS "54-58",
ROUND(("59+" / TOTAL_IDADE) * 100, 2) ||'%' AS "59+"
FROM TABLE_Y
As result I had:

Related

Changing the speeds of vehicles at different times

I'm using Omnet++ 5.0, and SUMO 0.25.0, and I'm trying to change the speed of vehicles at certain times. For example, i'm trying to set the speed of the vehicles near the intersection to 0.0, but then after a while i want to move so I'm changing the speed. The vehicles on the same road should be able to move, but the lower lane is the only one responding to the change of the speed, and they move into the intersection to cross it, and ones in the higher lane shown with an arrow are not moving at all.
i tried to monitor the speed of the first vehicle (its ID is 20) in the higher lane, and it shows that the speed keeps on minimizing instead of being changed using the setSpeed().
1st image is the code when setting the speed to 0.0.
2nd image when setting the speed to 13.89
3rd image showing the vehicles, the lower lane in the road to the right are responding to the second command (13.89) unlike the higher lane
the vehicle circled is vehicle 20
Vehicle ID 20
Lane ID -171270025#1_0
Speed 10.2666
Speed after setSpeed(13.89) 10.2666
Vehicle 20 Speed:9.97035
Vehicle 20 Speed:9.65099
Vehicle 20 Speed:9.33599
Vehicle 20 Speed:9.02479
Vehicle 20 Speed:8.71445
Vehicle 20 Speed:8.40909
...
and it keeps on minimizing until it reaches up to this point
Vehicle 20 Speed:0.000168397
Vehicle 20 Speed:0.000151557
Vehicle 20 Speed:0.000136401
Vehicle 20 Speed:0.000122761
Vehicle 20 Speed:0.000110485
Vehicle 20 Speed:9.94365e-005
Vehicle 20 Speed:8.94929e-005
can you suggest something that will help me solve this problem? Thank you!
update:
these are the functions used in the vehicle side in TraCIDemo
to make it short the vehicle requests the permission from the RSU to pass the intersection. Though the vehicles receive the permission, some do not change the speed and move to cross the intersection.
void MyTraCIDemo11p::onDataCross(CrossFromControllerMessage* csm) { // this is the function that is used when receiving the permission to cross, and changes the speed.
int n = 0;
std::string vehichleId = mobility->getExternalId();
for (int i=0 ; i < csm->getVehiclesListArraySize();i++) // this is a list received from the RSU to notify which vehicle to cross the intersection
{
vehicleList.push_back(std::string(csm->getVehiclesList(i)));
}
std::list<std::string>::iterator ttry1;
ttry1 = std::find(vehicleList.begin(), vehicleList.end(), vehichleId);
if (vehichleId == *ttry1){
n = 1;
}
if (state == WAITING && n == 1 ){
findHost()->bubble("Received");
state = QUEUING;
stateToString(state);
traciVehicle->setSpeed(13.89);
}
}
This is the handle position function. it manages the states of the vehicles based on their positions, and exchange of messages with the RSU.
the states of the vehicles change as follows Idle-> Waiting-> Queuing-> crossing-> Idle
void MyTraCIDemo11p::handlePositionUpdate(cObject* obj) {
BaseWaveApplLayer::handlePositionUpdate(obj);
vehiclePosition= mobility->getCurrentPosition();
junctionPosition = traci->junction("1823290733").getPosition();
if ( vehiclePosition.distance(junctionPosition) < 10) // this cas when the vehicle is inside the intersection
{
state = CROSSING;
stateToString(state);
} else if (vehiclePosition.distance(junctionPosition) < 30 && vehiclePosition.distance(junctionPosition) > 10 && state == IDLE && !sentRequestMessage ) // this case when the vehicle just reached the intersection
{
traciVehicle->setSpeed(0.0);
sendRequestMessage(mobility->getExternalId(),traciVehicle->getLaneId()); // it sends a message to the RSU to allow it to cross the intersection
state = WAITING;
stateToString(state);
} else if ((state == CROSSING) && vehiclePosition.distance(junctionPosition) < 9) // this case when the vehicle is passing the intersection
{
findHost()->bubble("i'm crossing");
state = CROSSED;
stateToString(state);
}else if (state == CROSSED) // this case when the vehicle crossed the intersection completely
{
if (!sentCrossedMessage){
sendCrossedMessage(mobility->getExternalId()); //it sends a message to the RSU that it crossed
state = IDLE;
stateToString(state);
}
}else if (state==QUEUING){ // this is when the vehicle is still at the intersection but received the persmission from the RSU to pass the intersection
traciVehicle->setSpeed(13.89);
}
}
}
}
}
// this is the stateToString function used in the handle position
virtual std::string stateToString(State state) const {
std::string s ;
switch(state)
{
case IDLE:
s = "IDLE";
break;
case WAITING:
s = "WAITING";
break;
case QUEUING:
s = "QUEUING";
break;
case CROSSING:
s = "CROSSING";
break;
case CROSSED:
s = "CROSSED";
break;
}
return s;
}
i will include the map xml below
This is the erlangen.net.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 12/22/2016 12:09:17 AM by Netedit Version 0.25.0
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netedit.exeConfiguration.xsd">
<input>
<sumo-net-file value="C:\Users\user\Desktop\MAP\map.net.xml"/>
</input>
<output>
<output-file value="C:\Users\user\Desktop\MAP\map.net.xml"/>
</output>
<processing>
<no-turnarounds value="true"/>
<offset.disable-normalization value="true"/>
<lefthand value="false"/>
<junctions.corner-detail value="0"/>
</processing>
</configuration>
-->
<net version="0.25" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd">
<location netOffset="-239463.70,-2703699.84" convBoundary="0.00,0.00,484.43,238.03" origBoundary="54.430493,24.425071,54.435282,24.427224" projParameter="+proj=utm +zone=40 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"/>
<edge id=":1823286480_0" function="internal">
<lane id=":1823286480_0_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="4.82" shape="362.07,237.77 361.45,239.12 360.70,239.66 359.82,239.38 358.81,238.29"/>
</edge>
<edge id=":1823289120_0" function="internal">
<lane id=":1823289120_0_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="4.82" shape="484.14,100.03 485.51,100.63 486.06,101.37 485.79,102.26 484.72,103.29"/>
</edge>
<edge id=":1823289179_0" function="internal">
<lane id=":1823289179_0_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="4.82" shape="0.28,186.90 -1.08,186.29 -1.63,185.55 -1.36,184.67 -0.28,183.64"/>
</edge>
<edge id=":1823290733_0" function="internal">
<lane id=":1823290733_0_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="16.31" shape="339.27,135.29 338.52,130.51 338.01,127.23 337.49,123.96 336.74,119.18"/>
</edge>
<edge id=":1823290733_1" function="internal">
<lane id=":1823290733_1_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="10.91" shape="342.53,134.78 342.47,130.45 343.81,127.12 346.09,125.17"/>
</edge>
<edge id=":1823290733_8" function="internal">
<lane id=":1823290733_8_0" index="0" speed="13.89" length="4.93" shape="346.09,125.17 346.54,124.79 350.66,123.44"/>
</edge>
<edge id=":1823290733_2" function="internal">
<lane id=":1823290733_2_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="16.33" shape="351.80,129.94 347.03,130.78 343.76,131.35 340.49,131.91 335.71,132.73"/>
</edge>
<edge id=":1823290733_3" function="internal">
<lane id=":1823290733_3_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="15.80" shape="351.23,126.69 346.89,126.83 343.57,125.54 341.28,122.82 340.00,118.67"/>
</edge>
<edge id=":1823290733_4" function="internal">
<lane id=":1823290733_4_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="16.31" shape="346.52,117.64 347.27,122.43 347.79,125.70 348.30,128.97 349.05,133.75"/>
</edge>
<edge id=":1823290733_5" function="internal">
<lane id=":1823290733_5_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="10.93" shape="343.26,118.15 343.33,122.49 342.00,125.82 339.71,127.78"/>
</edge>
<edge id=":1823290733_9" function="internal">
<lane id=":1823290733_9_0" index="0" speed="13.89" length="4.91" shape="339.71,127.78 339.27,128.16 335.15,129.48"/>
</edge>
<edge id=":1823290733_6" function="internal">
<lane id=":1823290733_6_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="16.29" shape="334.04,122.98 338.81,122.16 342.07,121.60 345.33,121.03 350.09,120.19"/>
</edge>
<edge id=":1823290733_7" function="internal">
<lane id=":1823290733_7_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="15.77" shape="334.60,126.23 338.92,126.11 342.23,127.41 344.52,130.13 345.79,134.27"/>
</edge>
<edge id=":1823291283_0" function="internal">
<lane id=":1823291283_0_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="4.82" shape="321.39,0.26 322.01,-1.09 322.76,-1.63 323.64,-1.35 324.65,-0.26"/>
</edge>
<edge id="-171270025#0" from="1823290733" to="1823289179" priority="4" type="highway.residential">
<lane id="-171270025#0_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="339.76" shape="335.71,132.73 0.84,190.15"/>
<lane id="-171270025#0_1" index="1" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="339.76" shape="335.15,129.48 0.28,186.90"/>
</edge>
<edge id="-171270025#1" from="1823289120" to="1823290733" priority="4" type="highway.residential">
<lane id="-171270025#1_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="135.52" shape="485.29,106.54 351.80,129.94"/>
<lane id="-171270025#1_1" index="1" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="135.52" shape="484.72,103.29 351.23,126.69"/>
</edge>
<edge id="-171270266#0" from="1823290733" to="1823286480" priority="4" type="highway.residential">
<lane id="-171270266#0_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="104.78" shape="349.05,133.75 365.33,237.26"/>
<lane id="-171270266#0_1" index="1" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="104.78" shape="345.79,134.27 362.07,237.77"/>
</edge>
<edge id="-171270266#1" from="1823291283" to="1823290733" priority="4" type="highway.residential" shape="323.02,0.00 325.45,15.47 328.84,37.02 339.41,104.25 342.90,126.48">
<lane id="-171270266#1_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="119.86" shape="327.91,-0.77 330.34,14.70 333.73,36.25 344.30,103.48 346.52,117.64"/>
<lane id="-171270266#1_1" index="1" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="119.86" shape="324.65,-0.26 327.08,15.21 330.47,36.76 341.04,103.99 343.26,118.15"/>
</edge>
<edge id="171270025#0" from="1823289179" to="1823290733" priority="4" type="highway.residential">
<lane id="171270025#0_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="339.76" shape="-0.84,180.39 334.04,122.98"/>
<lane id="171270025#0_1" index="1" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="339.76" shape="-0.28,183.64 334.60,126.23"/>
</edge>
<edge id="171270025#1" from="1823290733" to="1823289120" priority="4" type="highway.residential">
<lane id="171270025#1_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="135.52" shape="350.09,120.19 483.57,96.78"/>
<lane id="171270025#1_1" index="1" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="135.52" shape="350.66,123.44 484.14,100.03"/>
</edge>
<edge id="171270266#0" from="1823286480" to="1823290733" priority="4" type="highway.residential">
<lane id="171270266#0_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="104.78" shape="355.55,238.80 339.27,135.29"/>
<lane id="171270266#0_1" index="1" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="104.78" shape="358.81,238.29 342.53,134.78"/>
</edge>
<edge id="171270266#1" from="1823290733" to="1823291283" priority="4" type="highway.residential" shape="342.90,126.48 339.41,104.25 328.84,37.02 325.45,15.47 323.02,0.00">
<lane id="171270266#1_0" index="0" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="119.86" shape="336.74,119.18 334.52,105.02 323.95,37.79 320.56,16.24 318.13,0.77"/>
<lane id="171270266#1_1" index="1" disallow="tram rail_urban rail rail_electric ship" speed="13.89" length="119.86" shape="340.00,118.67 337.78,104.51 327.21,37.28 323.82,15.73 321.39,0.26"/>
</edge>
<junction id="1823286480" type="priority" x="360.44" y="238.03" incLanes="-171270266#0_0 -171270266#0_1" intLanes=":1823286480_0_0" shape="360.39,238.04 353.97,239.05 366.91,237.01 360.49,238.02">
<request index="0" response="0" foes="0" cont="0"/>
</junction>
<junction id="1823289120" type="priority" x="484.43" y="101.66" incLanes="171270025#1_0 171270025#1_1" intLanes=":1823289120_0_0" shape="484.44,101.71 485.56,108.11 483.30,95.21 484.42,101.61">
<request index="0" response="0" foes="0" cont="0"/>
</junction>
<junction id="1823289179" type="priority" x="0.00" y="185.27" incLanes="-171270025#0_0 -171270025#0_1" intLanes=":1823289179_0_0" shape="-0.01,185.22 -1.11,178.81 1.11,191.73 0.01,185.32">
<request index="0" response="0" foes="0" cont="0"/>
</junction>
<junction id="1823290733" type="priority" x="342.90" y="126.48" incLanes="171270266#0_0 171270266#0_1 -171270025#1_0 -171270025#1_1 -171270266#1_0 -171270266#1_1 171270025#0_0 171270025#0_1" intLanes=":1823290733_0_0 :1823290733_8_0 :1823290733_2_0 :1823290733_3_0 :1823290733_4_0 :1823290733_9_0 :1823290733_6_0 :1823290733_7_0" shape="337.69,135.54 350.64,133.51 352.08,131.52 349.81,118.62 348.10,117.39 335.16,119.43 333.77,121.40 335.98,134.31">
<request index="0" response="00000000" foes="11100100" cont="0"/>
<request index="1" response="00010000" foes="10011100" cont="1"/>
<request index="2" response="00010011" foes="10010011" cont="0"/>
<request index="3" response="01110010" foes="01110010" cont="0"/>
<request index="4" response="00000000" foes="01001110" cont="0"/>
<request index="5" response="00000001" foes="11001001" cont="1"/>
<request index="6" response="00110001" foes="00111001" cont="0"/>
<request index="7" response="00100111" foes="00100111" cont="0"/>
</junction>
<junction id="1823291283" type="priority" x="323.02" y="0.00" incLanes="171270266#1_0 171270266#1_1" intLanes=":1823291283_0_0" shape="323.07,-0.01 329.49,-1.02 316.55,1.02 322.97,0.01">
<request index="0" response="0" foes="0" cont="0"/>
</junction>
<junction id=":1823290733_8_0" type="internal" x="346.09" y="125.17" incLanes=":1823290733_1_0 -171270266#1_0" intLanes=":1823290733_2_0 :1823290733_3_0 :1823290733_4_0 :1823290733_7_0"/>
<junction id=":1823290733_9_0" type="internal" x="339.71" y="127.78" incLanes=":1823290733_5_0 171270266#0_0" intLanes=":1823290733_0_0 :1823290733_3_0 :1823290733_6_0 :1823290733_7_0"/>
<connection from="-171270025#0" to="171270025#0" fromLane="1" toLane="1" via=":1823289179_0_0" dir="t" state="M"/>
<connection from="-171270025#1" to="-171270025#0" fromLane="0" toLane="0" via=":1823290733_2_0" dir="s" state="m"/>
<connection from="-171270025#1" to="171270266#1" fromLane="1" toLane="1" via=":1823290733_3_0" dir="l" state="m"/>
<connection from="-171270266#0" to="171270266#0" fromLane="1" toLane="1" via=":1823286480_0_0" dir="t" state="M"/>
<connection from="-171270266#1" to="-171270266#0" fromLane="0" toLane="0" via=":1823290733_4_0" dir="s" state="M"/>
<connection from="-171270266#1" to="-171270025#0" fromLane="1" toLane="1" via=":1823290733_5_0" dir="l" state="m"/>
<connection from="171270025#0" to="171270025#1" fromLane="0" toLane="0" via=":1823290733_6_0" dir="s" state="m"/>
<connection from="171270025#0" to="-171270266#0" fromLane="1" toLane="1" via=":1823290733_7_0" dir="l" state="m"/>
<connection from="171270025#1" to="-171270025#1" fromLane="1" toLane="1" via=":1823289120_0_0" dir="t" state="M"/>
<connection from="171270266#0" to="171270266#1" fromLane="0" toLane="0" via=":1823290733_0_0" dir="s" state="M"/>
<connection from="171270266#0" to="171270025#1" fromLane="1" toLane="1" via=":1823290733_1_0" dir="l" state="m"/>
<connection from="171270266#1" to="-171270266#1" fromLane="1" toLane="1" via=":1823291283_0_0" dir="t" state="M"/>
<connection from=":1823286480_0" to="171270266#0" fromLane="0" toLane="1" dir="s" state="M"/>
<connection from=":1823289120_0" to="-171270025#1" fromLane="0" toLane="1" dir="s" state="M"/>
<connection from=":1823289179_0" to="171270025#0" fromLane="0" toLane="1" dir="s" state="M"/>
<connection from=":1823290733_0" to="171270266#1" fromLane="0" toLane="0" dir="s" state="M"/>
<connection from=":1823290733_1" to="171270025#1" fromLane="0" toLane="1" via=":1823290733_8_0" dir="s" state="m"/>
<connection from=":1823290733_8" to="171270025#1" fromLane="0" toLane="1" dir="s" state="M"/>
<connection from=":1823290733_2" to="-171270025#0" fromLane="0" toLane="0" dir="s" state="M"/>
<connection from=":1823290733_3" to="171270266#1" fromLane="0" toLane="1" dir="s" state="M"/>
<connection from=":1823290733_4" to="-171270266#0" fromLane="0" toLane="0" dir="s" state="M"/>
<connection from=":1823290733_5" to="-171270025#0" fromLane="0" toLane="1" via=":1823290733_9_0" dir="s" state="m"/>
<connection from=":1823290733_9" to="-171270025#0" fromLane="0" toLane="1" dir="s" state="M"/>
<connection from=":1823290733_6" to="171270025#1" fromLane="0" toLane="0" dir="s" state="M"/>
<connection from=":1823290733_7" to="-171270266#0" fromLane="0" toLane="1" dir="s" state="M"/>
<connection from=":1823291283_0" to="-171270266#1" fromLane="0" toLane="1" dir="s" state="M"/>
</net>
This is erlangen.poly.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 12/22/16 00:09:29 by SUMO polyconvert Version 0.25.0
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/polyconvertConfiguration.xsd">
<input>
<net-file value="map.net.xml"/>
<osm-files value="map.osm"/>
<type-file value="typemap.xml"/>
</input>
<output>
<output-file value="map.poly.xml"/>
</output>
<processing>
<poi-layer-offset value="5"/>
</processing>
</configuration>
-->
<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd">
<location netOffset="-239463.70,-2703699.84" convBoundary="-0.00,0.00,484.43,241.92" origBoundary="54.430493,24.425071,54.435282,24.427244" projParameter="+proj=utm +zone=40 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"/>
<poly id="171270235" type="parking" color="184,184,179" fill="1" layer="-1.00" shape="328.55,111.49 336.20,110.20 323.37,34.75 315.71,36.04 328.55,111.49"/>
<poly id="171270768" type="parking" color="184,184,179" fill="1" layer="-1.00" shape="349.14,225.19 369.11,221.68 353.65,134.84 333.69,138.36 349.14,225.19"/>
<poly id="231986403" type="building" color="255,230,230" fill="1" layer="-1.00" shape="393.78,103.22 362.66,108.50 360.32,94.90 355.82,95.67 353.28,80.84 357.82,80.07 357.56,78.56 354.20,79.13 352.62,69.93 382.34,64.88 382.67,66.83 387.40,66.02 391.60,90.49 393.78,103.22"/>
<poly id="397635254" type="natural" color="140,196,107" fill="1" layer="-4.00" shape="269.58,241.92 252.16,146.52 334.19,131.69 337.75,132.71 339.70,135.37 332.44,136.52 346.79,227.28 354.13,226.13 354.80,230.38 353.77,233.64 339.69,236.19 338.46,229.47 269.58,241.92"/>
<poly id="397652904" type="landuse" color="194,194,130" fill="1" layer="-3.00" shape="373.54,198.63 362.71,132.40 373.75,130.61 376.42,146.92 379.08,163.20 381.61,178.69 381.83,180.01 377.02,180.80 379.76,197.62 373.54,198.63"/>
<poly id="397656745" type="natural" color="140,196,107" fill="1" layer="-4.00" shape="346.63,134.59 346.94,132.62 348.39,130.57 351.23,129.43 481.72,107.10 482.29,110.29 481.38,110.18 362.02,131.61 373.34,198.77 379.76,197.62 382.03,212.19 376.62,213.14 377.75,219.58 377.27,221.69 378.50,229.38 366.98,231.49 363.69,230.33 361.74,228.21 361.13,224.69 370.09,223.04 354.40,133.34 346.63,134.59"/>
<poly id="397658254" type="landuse" color="194,194,130" fill="1" layer="-3.00" shape="391.60,90.49 400.82,81.96 405.76,108.70 360.25,116.76 355.82,95.67 360.32,94.90 362.66,108.50 393.78,103.22 391.60,90.49"/>
<poly id="397658256" type="landuse" color="194,194,130" fill="1" layer="-3.00" shape="350.68,118.49 358.39,117.15 351.86,79.91 353.01,79.71 351.15,69.14 363.31,67.02 344.15,35.03 342.90,33.70 338.47,7.10 335.18,4.47 332.18,3.84 326.92,4.76 325.90,7.16 331.93,41.50 337.00,40.62 350.68,118.49"/>
<poly id="397658423" type="parking" color="184,184,179" fill="1" layer="-1.00" shape="341.63,118.05 349.28,116.75 336.45,41.30 328.79,42.59 341.63,118.05"/>
<poly id="397772846" type="landuse" color="194,194,130" fill="1" layer="-3.00" shape="294.28,115.99 296.13,127.03 318.16,123.38 317.45,119.17 320.63,118.65 323.51,112.37 318.79,84.17 304.52,86.53 305.15,90.31 312.71,89.06 315.88,108.05 301.81,110.38 302.51,114.63 294.28,115.99"/>
<poly id="397773661" type="landuse" color="194,194,130" fill="1" layer="-3.00" shape="323.47,118.55 334.65,116.57 335.25,119.88 324.07,121.86 323.47,118.55"/>
</additional>
The generated file by SUMO was corrupted so generating a new one solved the problem.

Apache FOP image not hide

I set margin-right:1.0in.
The last column show the image but hide the text. I know the last column is overflow, but why the the image is showing but the text not?
How to hide all of the content include the image?
The file content is like below:
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-height="8.5in" page-width="14.0in" margin-left="0.1in" margin-right="1.0in" margin-bottom="0.2in" margin-top="0.2in" master-name="all-pages">
<fo:region-body region-name="xsl-region-body" margin-bottom="0.1in" margin-top="0.1in"/>
<fo:region-before extent="0.1in" region-name="xsl-region-header"/>
<fo:region-after extent="0.1in" region-name="xsl-region-footer"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="reportSeqn1PageMasterParametersSet">
<fo:repeatable-page-master-reference master-reference="all-pages"/>
</fo:page-sequence-master>
<fo:page-sequence-master master-name="reportSeqn1PageMasterColumnSet1">
<fo:repeatable-page-master-reference master-reference="all-pages"/>
</fo:page-sequence-master>
<fo:page-sequence-master master-name="reportSeqn1PageMasterColumnSet2">
<fo:repeatable-page-master-reference master-reference="all-pages"/>
</fo:page-sequence-master>
<fo:page-sequence-master master-name="reportSeqn1PageMasterImageSet">
<fo:repeatable-page-master-reference master-reference="all-pages"/>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence force-page-count="no-force" master-reference="reportSeqn1PageMasterColumnSet1" initial-page-number="1">
<fo:static-content flow-name="xsl-region-header">
<fo:block font-family="Arial" font-size="8pt" text-align="end">Dec 07, 2016</fo:block>
<fo:block font-family="Arial" font-size="8pt" text-align="end">05:55 PM</fo:block>
<fo:block font-weight="normal" font-family="Arial" font-size="12pt" text-align="center" text-decoration="none">Finance Integration Tasks</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-region-footer">
<fo:block font-family="Arial" font-size="8pt" text-align="end">
Page <fo:page-number/> Column set 1 of 2</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block-container width="1653.2640000000001pt">
<fo:block font-family="Arial" font-size="8pt" margin-top="5pt">
<fo:table table-layout="fixed" width="1653.2640000000001pt">
<fo:table-column column-number="1" column-width="84.43636363636364pt"/>
<fo:table-column column-number="2" column-width="84.43636363636364pt"/>
<fo:table-column column-number="3" column-width="84.43636363636364pt"/>
<fo:table-column column-number="4" column-width="84.43636363636364pt"/>
<fo:table-column column-number="5" column-width="84.43636363636364pt"/>
<fo:table-column column-number="6" column-width="84.43636363636364pt"/>
<fo:table-column column-number="7" column-width="84.43636363636364pt"/>
<fo:table-column column-number="8" column-width="84.43636363636364pt"/>
<fo:table-column column-number="9" column-width="84.43636363636364pt"/>
<fo:table-column column-number="10" column-width="84.43636363636364pt"/>
<fo:table-column column-number="11" column-width="84.43636363636364pt"/>
<fo:table-column column-number="12" column-width="724.464pt"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(51,102,153)">
<fo:block text-align="start" color="rgb(255,255,255)"># of Critical Issues</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(51,102,153)">
<fo:block text-align="start" color="rgb(255,255,255)">Description</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(51,102,153)">
<fo:block text-align="start" color="rgb(255,255,255)"># of Other Issues</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(51,102,153)">
<fo:block text-align="start" color="rgb(255,255,255)">Test</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(51,102,153)">
<fo:block text-align="start" color="rgb(255,255,255)">Test1</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(51,102,153)">
<fo:block text-align="start" color="rgb(255,255,255)">Test2</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(51,102,153)">
<fo:block text-align="start" color="rgb(255,255,255)">Test3</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(51,102,153)">
<fo:block text-align="start" color="rgb(255,255,255)">Test4</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(51,102,153)">
<fo:block text-align="start" color="rgb(255,255,255)">Test5</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(51,102,153)">
<fo:block text-align="start" color="rgb(255,255,255)">Test6</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(51,102,153)">
<fo:block text-align="start" color="rgb(255,255,255)">Test7</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(255,255,255)" border-top-color="rgb(255,255,255)" border-right-color="rgb(255,255,255)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(255,255,255)">
<fo:block text-align="start" color="rgb(255,255,255)">title</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="#ffff00">
<fo:block-container >
<fo:block font-family="Arial" color="Black" text-align="left">
<fo:inline xmlns:exslt="http://exslt.org/common" color="Black" font-weight="normal" font-style="normal" text-decoration="none">Tin
Can</fo:inline>
</fo:block>
</fo:block-container>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(255,255,255)">
<fo:block-container >
<fo:block font-family="Arial" color="Red" text-align="left" font-weight="bold">
<fo:inline xmlns:exslt="http://exslt.org/common" color="Red" font-weight="bold" font-style="normal" text-decoration="none">ABCD</fo:inline>
</fo:block>
</fo:block-container>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(255,255,255)">
<fo:block-container >
<fo:block font-family="Arial" color="Black" text-align="center">
<fo:inline xmlns:exslt="http://exslt.org/common" color="Black" font-weight="normal" font-style="normal" text-decoration="none">4</fo:inline>
</fo:block>
</fo:block-container>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(255,255,255)">
<fo:block-container >
<fo:block font-family="Arial" color="Black" text-align="right">
<fo:inline xmlns:exslt="http://exslt.org/common" color="Black" font-weight="normal" font-style="normal" text-decoration="none">19</fo:inline>
</fo:block>
</fo:block-container>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(255,255,255)">
<fo:block-container >
<fo:block font-family="Arial" color="Black" text-align="left">
<fo:inline xmlns:exslt="http://exslt.org/common" color="Black" font-weight="normal" font-style="normal" text-decoration="none">Tin
Can</fo:inline>
</fo:block>
</fo:block-container>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(255,255,255)">
<fo:block-container >
<fo:block font-family="Arial" color="#000000" text-align="left">ABCD</fo:block>
</fo:block-container>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(255,255,255)">
<fo:block-container >
<fo:block font-family="Arial" color="#000000" text-align="left">Tin Can</fo:block>
</fo:block-container>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(255,255,255)">
<fo:block-container >
<fo:block font-family="Arial" color="#000000" text-align="left">ABCD</fo:block>
</fo:block-container>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(255,255,255)">
<fo:block-container >
<fo:block font-family="Arial" color="#000000" text-align="left">Tin Can</fo:block>
</fo:block-container>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(255,255,255)">
<fo:block-container >
<fo:block font-family="Arial" color="#000000" text-align="left">ABCD</fo:block>
</fo:block-container>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(200,215,227)" border-top-color="rgb(200,215,227)" border-right-color="rgb(200,215,227)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(255,255,255)">
<fo:block-container >
<fo:block font-family="Arial" color="Black" text-align="right">
<fo:inline xmlns:exslt="http://exslt.org/common" color="Black" font-weight="normal" font-style="normal" text-decoration="none">Tin
Can</fo:inline>
</fo:block>
</fo:block-container>
</fo:table-cell>
<fo:table-cell padding="2pt" border-bottom-color="rgb(255,255,255)" border-top-color="rgb(255,255,255)" border-right-color="rgb(255,255,255)" border-left-color="rgb(200,215,227)" border-style="solid" border-width="0.25pt" background-color="rgb(255,255,255)">
<fo:block-container >
<fo:block font-family="Arial" color="rgb(255,255,255)" text-align="left">
<fo:inline xmlns:exslt="http://exslt.org/common" font-weight="normal" font-style="normal">ABCD</fo:inline> <fo:external-graphic src="url('file:///C:/Users/sujianrong/Desktop/fop-2.1-bin.tar/fop-2.1-bin/fop-2.1/examples/fo/graphics/fop.jpg')" content-width="10pt" /> </fo:block>
</fo:block-container>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:block-container>
<fo:block id="reportSeqn1last-pageColumnSet2"/>
</fo:flow>
</fo:page-sequence>
</fo:root>
Add overflow="hidden" to the fo:region-body.
See https://www.w3.org/TR/xsl11/#overflow

Symfony : Upgrading from 2.8 to 3

I got errors when I tried to upgrade symfony from 2.8 to 3 :
Conclusion: don't install symfony/symfony 3.0.x-dev
Conclusion: don't install symfony/symfony v3.0.9
Conclusion: don't install symfony/symfony v3.0.8
Conclusion: don't install symfony/symfony v3.0.7
webfactory/exceptions-bundle 4.3.0 requires symfony/twig-bundle ~2.2 -> satisfiable by symfony/symfony[v2.8.13, 2.2.x-dev, 2.3.x-dev,
2.4.x-dev, 2.5.x-dev, 2.6.x-dev, 2.7.x-dev, 2.8.x-dev], symfony/twig-bundle[2.2.x-dev, 2.3.x-dev, 2.4.x-dev, 2.5.x-dev,
2.6.x-dev, 2.7.x-dev, 2.8.x-dev, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9,
v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15,
v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21,
v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28,
v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34,
v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40,
v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0,
v2.4.0-BETA1, v2.4.0-BETA2, v2.4.0-RC1, v2.4.1, v2.4.10, v2.4.2,
v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0,
v2.5.0-BETA1, v2.5.0-BETA2, v2.5.0-RC1, v2.5.1, v2.5.10, v2.5.11,
v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8,
v2.5.9, v2.6.0, v2.6.0-BETA1, v2.6.0-BETA2, v2.6.1, v2.6.10, v2.6.11,
v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7,
v2.6.8, v2.6.9, v2.7.0, v2.7.0-BETA1, v2.7.0-BETA2, v2.7.1, v2.7.10,
v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17,
v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.3, v2.7.4, v2.7.5, v2.7.6,
v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.10,
v2.8.11, v2.8.12, v2.8.13, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6,
v2.8.7, v2.8.8, v2.8.9].
Installation request for symfony/symfony 3.0.* -> satisfiable by symfony/symfony[3.0.x-dev, v3.0.0, v3.0.0-BETA1, v3.0.1, v3.0.2,
v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9].
Installation request for webfactory/exceptions-bundle ^4.3 -> satisfiable by webfactory/exceptions-bundle[4.3.0].
This is my composer.json :
"minimum-stability": "dev",
"require": {
"php": ">=5.4.26",
"symfony/symfony": "3.0.*",
"doctrine/orm": "~2.2,>=2.2.3,<2.5",
"doctrine/dbal": "<2.5",
"doctrine/doctrine-bundle": "~1.2",
"twig/extensions": "~1.2",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~3.0,>=3.0.12",
"sensio/framework-extra-bundle": "~3.0,>=3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"knplabs/knp-paginator-bundle": "dev-master",
"friendsofsymfony/user-bundle": "^1.3",
"adesigns/calendar-bundle" : "dev-master",
"friendsofsymfony/jsrouting-bundle" : "1.5.4",
"liip/imagine-bundle" : "dev-master",
"jordillonch/crud-generator" : "dev-master",
"stof/doctrine-extensions-bundle": "~1.1#dev",
"kms/froala-editor-bundle": "dev-master",
"webfactory/exceptions-bundle" : "^4.3",
"lexik/translation-bundle": "^4.0",
"jms/i18n-routing-bundle": "dev-master",
"hwi/oauth-bundle": "dev-master",
"liuggio/excelbundle": "^2.0",
"a2lix/translation-form-bundle": "^2.1",
"besimple/i18n-routing-bundle": "dev-master",
"knplabs/doctrine-behaviors": "~1.1",
"doctrine/doctrine-fixtures-bundle": "dev-master",
"unifik/database-config-bundle": "dev-master",
"beelab/recaptcha2-bundle": "~1.2",
"dario_swain/ds-recaptcha-bundle": "dev-master",
"avocode/form-extensions-bundle": "dev-master",
"gos/web-socket-bundle": "~1.0",
"knplabs/knp-snappy-bundle": "^1.4",
"umpirsky/symfony-upgrade-fixer": "^0.1.5"
}
beelab/recaptcha2-bundle v0.1.3 requires symfony/symfony ~2.3 -> satisfiable by symfony/symfony[2.8.x-dev, 2.3.x-dev, 2.4.x-dev, 2.5.x-dev, 2.6.x-dev, 2.7.x-dev].
This means, that the recaptcha2-bundle doesn't allow a Symfony 3 installation. If you want to upgrade to Symfony 3 then you have to check, if that bundle is available in newer version or you have to remove that bundle.

WSS4J Invalid Security header -- wish to turn off "ec" prefix in InclusiveNamespace element

When hitting a producer web service with the following SOAP request I get a "invalid security header" message returned. When my test case with Oracle JDK 7, which uses JAX-WS RI 2.2.4-b01, it works fine.
I have to use WSS4j 1.6.0 and IBM JDK 6 as I am on Websphere -- I think the problem is with JAX-WS RI 2.1.6 that comes with IBM JDK 6.
I am trying to get my InclusiveNamspaces to look as follows without the "ec" prefix, as I notice this is one of the things different in the XML request shown below.
<S:Header>
<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
S:mustUnderstand="1">
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
Id="SIG-A45B0A5E750A47B9AE6EC49A362DB055">
<ds:SignedInfo>
<ds:CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments" />
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<ds:Reference URI="#TS-1">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#"
PrefixList="wsse S urn urn1" />
But instead it is coming out with the "ec" prefix
<ec:InclusiveNamespaces PrefixList="wsse S urn urn1" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" />
I have tried this in my code but it does not remove it. Any ideas?
org.apache.xml.security.Init.init();
org.apache.xml.security.utils.ElementProxy.setDefaultPrefix("http://www.w3.org/2001/10/xml-exc-c14n#", "");
Here is a request that works when using Oracle JDK 7, notice that it is using JAX-WS RI 2.2.4-b01
POST /airp/aca/a2a/1095BC_Transmission_AATS2016 HTTP/1.1
Accept: text/xml, multipart/related
Content-Type: multipart/related;start="
<rootpart * d2bbd41-479c-4851-b6fb-5de42ba6573f #
example.jaxws.sun.com>
";type="application/xop+xml";boundary="uuid:6d2bbd41-479c-4851-b6fb-5de42ba6573f";start-info="text/xml"
SOAPAction: "BulkRequestTransmitter"
User-Agent: JAX-WS RI 2.2.4-b01
Host: la.www4.irs.gov
Connection: keep-alive
Content-Length: 325083
--uuid:6d2bbd41-479c-4851-b6fb-5de42ba6573f
Content-Id:
<rootpart * d2bbd41-479c-4851-b6fb-5de42ba6573f #
example.jaxws.sun.com>
Content-Type: application/xop+xml;charset=utf-8;type="text/xml"
Content-Transfer-Encoding: binary
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:urn="urn:us:gov:treasury:irs:ext:aca:air:7.0" xmlns:urn1="urn:us:gov:treasury:irs:common">
<S:Header>
<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
S:mustUnderstand="1">
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
Id="SIG-DEE23B9A923D4A3CA3211DF2A3CD881A">
<ds:SignedInfo>
<ds:CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"></ds:CanonicalizationMethod>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
<ds:Reference URI="#TS-1">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#"
PrefixList="wsse S urn urn1"></InclusiveNamespaces>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
<ds:DigestValue>removed=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#id-4A79A4500D834A1688F0255D34F4B90A">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#"
PrefixList="S urn1"></InclusiveNamespaces>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
<ds:DigestValue>removed=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#id-1447A9BC79B048418D358EF9F861A302">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#"
PrefixList="S urn urn1"></InclusiveNamespaces>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
<ds:DigestValue>removed=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>removed==</ds:SignatureValue>
<ds:KeyInfo Id="KI-F84482F8FD684AF9811FCEA580F9FF93">
<wsse:SecurityTokenReference
wsu:Id="STR-71DE006212BB4C9FA21F3F59F79737CA">
<wsse:KeyIdentifier
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3">removed</wsse:KeyIdentifier>
</wsse:SecurityTokenReference>
</ds:KeyInfo>
</ds:Signature>
<wsu:Timestamp wsu:Id="TS-1">
<wsu:Created>2016-01-08T23:00:48.578Z</wsu:Created>
<wsu:Expires>2016-01-09T00:00:48.578Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
Here is the request using IBM JDK 6 that has JAX-WS 2.1 -- the only difference I can see is that it uses "ec" prefix and expressly states it's UTF-8
POST /airp/aca/a2a/1095BC_Transmission_AATS2016 HTTP/1.1
Soapaction:
"BulkRequestTransmitter"
Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Content-type:
multipart/related;start="
<rootpart * e-488d-80b8-4a137e7cb54e # example.jaxws.sun.com>
";type="application/xop+xml";boundary="uuid:94066996-016e-488d-80b8-4a137e7cb54e";start-info="text/xml"
User-Agent: JAX-WS RI 2.1.6 in JDK 6
Host: la.www4.irs.gov
Connection: keep-alive
Content-Length: 325122
--uuid:94066996-016e-488d-80b8-4a137e7cb54e
Content-Id:
<rootpart * e-488d-80b8-4a137e7cb54e # example.jaxws.sun.com>
Content-Type: application/xop+xml;charset=utf-8;type="text/xml"
Content-Transfer-Encoding: binary
<?xml version="1.0" encoding="UTF-8"?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:urn="urn:us:gov:treasury:irs:ext:aca:air:7.0" xmlns:urn1="urn:us:gov:treasury:irs:common">
<S:Header>
<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
S:mustUnderstand="1">
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
Id="SIG-2533902FF05A4C3EAD4DF4394DDC7232">
<ds:SignedInfo>
<ds:CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"></ds:CanonicalizationMethod>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
<ds:Reference URI="#TS-1">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"
PrefixList="wsse S urn urn1"></ec:InclusiveNamespaces>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
<ds:DigestValue>removed=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#id-7E93AD40DB804D8D9241DE569606EC96">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"
PrefixList="S urn1"></ec:InclusiveNamespaces>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
<ds:DigestValue>removed=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#id-2F77BCB77A484ABAB2FF110E580E2DD3">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"
PrefixList="S urn urn1"></ec:InclusiveNamespaces>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
<ds:DigestValue>removed=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>removed==</ds:SignatureValue>
<ds:KeyInfo Id="KI-7A496D73BB5342EAA06616B8AF4FDCB0">
<wsse:SecurityTokenReference
wsu:Id="STR-BF7E3246416240B5B45DA733BC718073">
<wsse:KeyIdentifier
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3">removed</wsse:KeyIdentifier>
</wsse:SecurityTokenReference>
</ds:KeyInfo>
</ds:Signature>
<wsu:Timestamp wsu:Id="TS-1">
<wsu:Created>2016-01-08T23:04:33.001Z</wsu:Created>
<wsu:Expires>2016-01-09T00:04:33.001Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>

Incomplete display of style in geoserver generated in QGIS

SLD generated in QGIS 2.10 PISA is as follows-
<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" xmlns:se="http://www.opengis.net/se">
<NamedLayer>
<se:Name>state1</se:Name>
<UserStyle>
<se:Name>state1</se:Name>
<se:FeatureTypeStyle>
<se:Rule>
<se:Name>ADJACENT COUNTRIES</se:Name>
<se:Description>
<se:Title>ADJACENT COUNTRIES</se:Title>
</se:Description>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>STATE</ogc:PropertyName>
<ogc:Literal>ADJACENT COUNTRIES</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<se:PolygonSymbolizer>
<se:Fill>
<se:SvgParameter name="fill">#d640d1</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#000000</se:SvgParameter>
<se:SvgParameter name="stroke-width">0.26</se:SvgParameter>
<se:SvgParameter name="stroke-linejoin">bevel</se:SvgParameter>
</se:Stroke>
</se:PolygonSymbolizer>
</se:Rule>
<se:Rule>
<se:Name>ANDAMAN & NICOBAR</se:Name>
<se:Description>
<se:Title>ANDAMAN & NICOBAR</se:Title>
</se:Description>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>STATE</ogc:PropertyName>
<ogc:Literal>ANDAMAN & NICOBAR</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<se:PolygonSymbolizer>
<se:Fill>
<se:SvgParameter name="fill">#62eadf</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#000000</se:SvgParameter>
<se:SvgParameter name="stroke-width">0.26</se:SvgParameter>
<se:SvgParameter name="stroke-linejoin">bevel</se:SvgParameter>
</se:Stroke>
</se:PolygonSymbolizer>
</se:Rule>
<se:Rule>
<se:Name>ANDHRA PRADESH</se:Name>
<se:Description>
<se:Title>ANDHRA PRADESH</se:Title>
</se:Description>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>STATE</ogc:PropertyName>
<ogc:Literal>ANDHRA PRADESH</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<se:PolygonSymbolizer>
<se:Fill>
<se:SvgParameter name="fill">#869edf</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#000000</se:SvgParameter>
<se:SvgParameter name="stroke-width">0.26</se:SvgParameter>
<se:SvgParameter name="stroke-linejoin">bevel</se:SvgParameter>
</se:Stroke>
</se:PolygonSymbolizer>
</se:Rule>
<se:Rule>
<se:Name>ARUNACHAL PRADESH</se:Name>
<se:Description>
<se:Title>ARUNACHAL PRADESH</se:Title>
</se:Description>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>STATE</ogc:PropertyName>
<ogc:Literal>ARUNACHAL PRADESH</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<se:PolygonSymbolizer>
<se:Fill>
<se:SvgParameter name="fill">#85e6ee</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#000000</se:SvgParameter>
<se:SvgParameter name="stroke-width">0.26</se:SvgParameter>
<se:SvgParameter name="stroke-linejoin">bevel</se:SvgParameter>
</se:Stroke>
</se:PolygonSymbolizer>
</se:Rule>
<se:Rule>
<se:Name>ASSAM</se:Name>
<se:Description>
<se:Title>ASSAM</se:Title>
</se:Description>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>STATE</ogc:PropertyName>
<ogc:Literal>ASSAM</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<se:PolygonSymbolizer>
<se:Fill>
<se:SvgParameter name="fill">#aede72</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#000000</se:SvgParameter>
<se:SvgParameter name="stroke-width">0.26</se:SvgParameter>
<se:SvgParameter name="stroke-linejoin">bevel</se:SvgParameter>
</se:Stroke>
</se:PolygonSymbolizer>
</se:Rule>
<se:Name></se:Name>
<se:Description>
<se:Title>STATE is ''</se:Title>
</se:Description>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>STATE</ogc:PropertyName>
<ogc:Literal></ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<se:PolygonSymbolizer>
<se:Fill>
<se:SvgParameter name="fill">#ebcf60</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#000000</se:SvgParameter>
<se:SvgParameter name="stroke-width">0.26</se:SvgParameter>
<se:SvgParameter name="stroke-linejoin">bevel</se:SvgParameter>
</se:Stroke>
</se:PolygonSymbolizer>
</se:Rule>
</se:FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
The above SLD when added as a style to one of the layers in GeoServer 2.7.2 and published as a wms, is not able to display the labels(state names). In SLD, only the states are categorized and names have been given to them.
Can someone please help me on this.
The SLD does not contain any TextSymbolizer, so there is no way it can display labels. If you have labels configured, you should report the lack of a TextSymbolizer as a bug in QGis

Resources