2423 |
my $er; |
my $er; |
2424 |
lang:Perl ($name => $token.value) { |
lang:Perl ($name => $token.value) { |
2425 |
## TODO: Namespace well-formedness |
## TODO: Namespace well-formedness |
|
## TODO: Entity declared constraints |
|
2426 |
|
|
2427 |
$er = $self->{doc}-><M::Document.createEntityReference> ($name); |
$er = $self->{doc}-><M::Document.createEntityReference> ($name); |
2428 |
$er-><AS::Node.textContent> (''); |
$er-><AS::Node.textContent> (''); |
2432 |
## entity node collection construction, however, |
## entity node collection construction, however, |
2433 |
## some entity node has replacement tree. |
## some entity node has replacement tree. |
2434 |
my $ent = $self->{general_entity}->{$name}; |
my $ent = $self->{general_entity}->{$name}; |
2435 |
$parent-><M::Node.appendChild> ($er); |
if (not $ent) { # no entity declaration |
2436 |
$er-><AS::x|EntityReference.isExpanded> |
if ($self->{standalone} or not $self->{has_xref}) { # WFC error |
2437 |
|
my $location; |
2438 |
|
__CODE{xp|get-location-from-token:: |
2439 |
|
$token => {$token}, |
2440 |
|
$result => {$location}, |
2441 |
|
}__; |
2442 |
|
my $continue = __DOMCore:ERROR{xp|wf-entity-declared:: |
2443 |
|
xp|error-token => {$token}, |
2444 |
|
c|location => {$location}, |
2445 |
|
xp|name => {$name}, |
2446 |
|
}__; |
2447 |
|
unless ($continue) { |
2448 |
|
__EXCEPTION{DOMLS|PARSE_ERR}__; |
2449 |
|
} |
2450 |
|
} # Otherwise VC error |
2451 |
|
push @{$self->{entity}}, <Code::getEmptyEntityState>; |
2452 |
|
$er-><AS::x|EntityReference.isExpanded> (false); |
2453 |
|
|
2454 |
|
} else { # there IS entity declaration |
2455 |
|
if (($self->{standalone} or not $self->{has_xref}) and |
2456 |
|
$ent->{is_externally_declared} and |
2457 |
|
not $self->{entity}->[-1]->{is_externally_declared}) { |
2458 |
|
my $location; |
2459 |
|
__CODE{xp|get-location-from-token:: |
2460 |
|
$token => {$token}, |
2461 |
|
$result => {$location}, |
2462 |
|
}__; |
2463 |
|
my $continue = __DOMCore:ERROR{xp|wf-entity-declared:: |
2464 |
|
xp|error-token => {$token}, |
2465 |
|
c|location => {$location}, |
2466 |
|
xp|name => {$name}, |
2467 |
|
}__; |
2468 |
|
unless ($continue) { |
2469 |
|
__EXCEPTION{DOMLS|PARSE_ERR}__; |
2470 |
|
} |
2471 |
|
} |
2472 |
|
|
2473 |
|
if ($ent->{is_external_entity}) { |
2474 |
|
my $location; |
2475 |
|
__CODE{xp|get-location-from-token:: |
2476 |
|
$token => {$token}, |
2477 |
|
$result => {$location}, |
2478 |
|
}__; |
2479 |
|
my $continue = __c|ERROR{xp|wf-no-external-entity-references:: |
2480 |
|
xp|error-token => {$token}, |
2481 |
|
c|location => {$location}, |
2482 |
|
xp|name => {$name}, |
2483 |
|
}__; |
2484 |
|
unless ($continue) { |
2485 |
|
__EXCEPTION{DOMLS|PARSE_ERR:: |
2486 |
|
}__; |
2487 |
|
} |
2488 |
|
} # if external entity |
2489 |
|
|
2490 |
|
$er-><AS::x|EntityReference.isExpanded> |
2491 |
($ent->{has_replacement_text}); |
($ent->{has_replacement_text}); |
2492 |
push @{$self->{entity}}, <Code::getCopyOfEntityState:: |
push @{$self->{entity}}, <Code::getCopyOfEntityState:: |
2493 |
$entity_type = 'general_entity', |
$entity_type = 'general_entity', |
2494 |
$entity_name = $name>; |
$entity_name = $name>; |
2495 |
|
} |
2496 |
|
$parent-><M::Node.appendChild> ($er); |
2497 |
$self->{location} = $self->{entity}->[-1]; |
$self->{location} = $self->{entity}->[-1]; |
2498 |
push @{$self->{entity_token}}, $self->{token}; |
push @{$self->{entity_token}}, $self->{token}; |
2499 |
$self->{token} = []; |
$self->{token} = []; |
2500 |
push @{$self->{entity_char}}, $self->{char}; |
push @{$self->{entity_char}}, $self->{char}; |
2501 |
$self->{char} = []; |
$self->{char} = []; |
|
|
|
|
if ($self->{entity}->[-1]->{is_external_entity}) { |
|
|
my $location; |
|
|
__CODE{xp|get-location-from-token:: |
|
|
$token => {$token}, |
|
|
$result => {$location}, |
|
|
}__; |
|
|
my $continue = __DOMCore:ERROR{xp|wf-no-external-entity-references:: |
|
|
xp|error-token => {$token}, |
|
|
c|location => {$location}, |
|
|
xp|name => {$name}, |
|
|
}__; |
|
|
unless ($continue) { |
|
|
__EXCEPTION{DOMLS|PARSE_ERR:: |
|
|
}__; |
|
|
} |
|
|
} # if external entity |
|
2502 |
} |
} |
2503 |
|
|
2504 |
?lexmode AttributeValueLiteralE; |
?lexmode AttributeValueLiteralE; |
9927 |
} |
} |
9928 |
|
|
9929 |
@@XMLTest: |
@@XMLTest: |
9930 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.nopref.1.test |
9931 |
|
@@@DEnt: |
9932 |
|
@@@@test:value: |
9933 |
|
<!DOCTYPE p [ |
9934 |
|
<!ENTITY c "&entity;"> |
9935 |
|
]> |
9936 |
|
<p a="&c;"/> |
9937 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
9938 |
|
@@XMLTest: |
9939 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.nopref.2.test |
9940 |
|
@@@DEnt: |
9941 |
|
@@@@test:value: |
9942 |
|
<!DOCTYPE p [ |
9943 |
|
<!ENTITY other "aa"> |
9944 |
|
<!ENTITY % another "aa"> |
9945 |
|
<!ENTITY c "&entity;"> |
9946 |
|
]> |
9947 |
|
<p a="&c;"/> |
9948 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
9949 |
|
@@XMLTest: |
9950 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.nopref.3.test |
9951 |
|
@@@DEnt: |
9952 |
|
@@@@test:value: |
9953 |
|
<?xml version="1.0" standalone="yes"?> |
9954 |
|
<!DOCTYPE p [ |
9955 |
|
<!ENTITY c "&entity;"> |
9956 |
|
]> |
9957 |
|
<p a="&c;"/> |
9958 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
9959 |
|
@@XMLTest: |
9960 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.nopref.4.test |
9961 |
|
@@@DEnt: |
9962 |
|
@@@@test:value: |
9963 |
|
<?xml version="1.0" standalone="no"?> |
9964 |
|
<!DOCTYPE p [ |
9965 |
|
<!ENTITY c "&entity;"> |
9966 |
|
]> |
9967 |
|
<p a="&c;"/> |
9968 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
9969 |
|
@@XMLTest: |
9970 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.nopref.5.test |
9971 |
|
@@@DEnt: |
9972 |
|
@@@@test:value: |
9973 |
|
<?xml version="1.0" standalone="yes"?> |
9974 |
|
<!DOCTYPE p [ |
9975 |
|
<!ENTITY other "aa"> |
9976 |
|
<!ENTITY % another "aa"> |
9977 |
|
<!ENTITY c "&entity;"> |
9978 |
|
]> |
9979 |
|
<p a="&c;"/> |
9980 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
9981 |
|
@@XMLTest: |
9982 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.nopref.6.test |
9983 |
|
@@@DEnt: |
9984 |
|
@@@@test:value: |
9985 |
|
<?xml version="1.0" standalone="no"?> |
9986 |
|
<!DOCTYPE p [ |
9987 |
|
<!ENTITY other "aa"> |
9988 |
|
<!ENTITY % another "aa"> |
9989 |
|
<!ENTITY c "&entity;"> |
9990 |
|
]> |
9991 |
|
<p a="&c;"/> |
9992 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
9993 |
|
@@XMLTest: |
9994 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.nopref.-1.test |
9995 |
|
@@@DEnt: |
9996 |
|
@@@@test:value: |
9997 |
|
<!DOCTYPE p [ |
9998 |
|
<!ENTITY entity "value"> |
9999 |
|
<!ENTITY c "&entity;"> |
10000 |
|
]> |
10001 |
|
<p a="&c;"/> |
10002 |
|
@@@test:domTree: |
10003 |
|
document { |
10004 |
|
document-type { |
10005 |
|
general-entity { |
10006 |
|
node-name: 'entity'; |
10007 |
|
text-content: 'value'; |
10008 |
|
} |
10009 |
|
general-entity { |
10010 |
|
node-name: 'c'; |
10011 |
|
general-entity-reference { |
10012 |
|
node-name: 'entity'; |
10013 |
|
text-content: 'value'; |
10014 |
|
} |
10015 |
|
} |
10016 |
|
} |
10017 |
|
element { |
10018 |
|
attribute { |
10019 |
|
node-name: 'a'; |
10020 |
|
general-entity-reference { |
10021 |
|
node-name: 'c'; |
10022 |
|
general-entity-reference { |
10023 |
|
node-name: 'entity'; |
10024 |
|
text-content: 'value'; |
10025 |
|
} |
10026 |
|
} |
10027 |
|
} |
10028 |
|
} |
10029 |
|
} |
10030 |
|
@@XMLTest: |
10031 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.nopref.-2.test |
10032 |
|
@@@DEnt: |
10033 |
|
@@@@test:value: |
10034 |
|
<!DOCTYPE p [ |
10035 |
|
<!ENTITY entity "value"> |
10036 |
|
<!ENTITY another SYSTEM "another"> |
10037 |
|
<!ENTITY c "&entity;"> |
10038 |
|
]> |
10039 |
|
<p a="&c;"/> |
10040 |
|
@@@test:domTree: |
10041 |
|
document { |
10042 |
|
document-type { |
10043 |
|
general-entity { |
10044 |
|
node-name: 'entity'; |
10045 |
|
text-content: 'value'; |
10046 |
|
} |
10047 |
|
general-entity { |
10048 |
|
node-name: 'c'; |
10049 |
|
general-entity-reference { |
10050 |
|
node-name: 'entity'; |
10051 |
|
text-content: 'value'; |
10052 |
|
} |
10053 |
|
} |
10054 |
|
general-entity { |
10055 |
|
node-name: 'another'; |
10056 |
|
public-id: null; |
10057 |
|
system-id: 'another'; |
10058 |
|
has-replacement-tree: false; |
10059 |
|
} |
10060 |
|
} |
10061 |
|
element { |
10062 |
|
attribute { |
10063 |
|
node-name: 'a'; |
10064 |
|
general-entity-reference { |
10065 |
|
node-name: 'c'; |
10066 |
|
general-entity-reference { |
10067 |
|
node-name: 'entity'; |
10068 |
|
text-content: 'value'; |
10069 |
|
} |
10070 |
|
} |
10071 |
|
} |
10072 |
|
} |
10073 |
|
} |
10074 |
|
@@XMLTest: |
10075 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.standalone.2.test |
10076 |
|
@@@DEnt: |
10077 |
|
@@@@test:value: |
10078 |
|
<?xml version="1.0" standalone="yes"?> |
10079 |
|
<!DOCTYPE p [ |
10080 |
|
<!ENTITY c "&entity;"> |
10081 |
|
]> |
10082 |
|
<p a="&c;"/> |
10083 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10084 |
|
@@XMLTest: |
10085 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.standalone.3.test |
10086 |
|
@@@DEnt: |
10087 |
|
@@@@test:value: |
10088 |
|
<?xml version="1.0" standalone="yes"?> |
10089 |
|
<!DOCTYPE p [ |
10090 |
|
<!ENTITY % para "<!-- -->"> |
10091 |
|
%para; |
10092 |
|
<!ENTITY c "&entity;"> |
10093 |
|
]> |
10094 |
|
<p a="&c;"/> |
10095 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10096 |
|
@@XMLTest: |
10097 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.standalone.-1.test |
10098 |
|
@@@DEnt: |
10099 |
|
@@@@test:value: |
10100 |
|
<?xml version="1.0" standalone="no"?> |
10101 |
|
<!DOCTYPE p [ |
10102 |
|
<!ENTITY c "&entity;"> |
10103 |
|
<!ENTITY % para "<!-- -->"> |
10104 |
|
%para; |
10105 |
|
]> |
10106 |
|
<p a="&c;"/> |
10107 |
|
@@@test:domTree: |
10108 |
|
document { |
10109 |
|
document-type { |
10110 |
|
general-entity { |
10111 |
|
node-name: 'c'; |
10112 |
|
general-entity-reference { |
10113 |
|
node-name: 'entity'; |
10114 |
|
is-expanded: false; |
10115 |
|
} |
10116 |
|
} |
10117 |
|
} |
10118 |
|
element { |
10119 |
|
attribute { |
10120 |
|
node-name: 'a'; |
10121 |
|
general-entity-reference { |
10122 |
|
node-name: 'c'; |
10123 |
|
general-entity-reference { |
10124 |
|
node-name: 'entity'; |
10125 |
|
is-expanded: false; |
10126 |
|
} |
10127 |
|
} |
10128 |
|
} |
10129 |
|
} |
10130 |
|
} |
10131 |
|
@@XMLTest: |
10132 |
|
@@@QName: |
10133 |
|
xp.reptxt.attval.ger.entity.declared.standalone.-1.2.test |
10134 |
|
@@@DEnt: |
10135 |
|
@@@@test:value: |
10136 |
|
<?xml version="1.0" standalone="no"?> |
10137 |
|
<!DOCTYPE p [ |
10138 |
|
<!ENTITY % para "<!-- -->"> |
10139 |
|
%para; |
10140 |
|
<!ENTITY c "&entity;"> |
10141 |
|
]> |
10142 |
|
<p a="&c;"/> |
10143 |
|
@@@test:domTree: |
10144 |
|
document { |
10145 |
|
document-type { } |
10146 |
|
element { |
10147 |
|
attribute { |
10148 |
|
node-name: 'a'; |
10149 |
|
general-entity-reference { |
10150 |
|
node-name: 'c'; |
10151 |
|
is-expanded: false; |
10152 |
|
} |
10153 |
|
} |
10154 |
|
} |
10155 |
|
} |
10156 |
|
@@XMLTest: |
10157 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.standalone.-2.test |
10158 |
|
@@@DEnt: |
10159 |
|
@@@@test:value: |
10160 |
|
<!DOCTYPE p [ |
10161 |
|
<!ENTITY c "&entity;"> |
10162 |
|
<!ENTITY % para "<!-- -->"> |
10163 |
|
%para; |
10164 |
|
]> |
10165 |
|
<p a="&c;"/> |
10166 |
|
@@@test:domTree: |
10167 |
|
document { |
10168 |
|
document-type { } |
10169 |
|
element { |
10170 |
|
attribute { |
10171 |
|
node-name: 'a'; |
10172 |
|
general-entity-reference { |
10173 |
|
node-name: 'c'; |
10174 |
|
is-expanded: true; |
10175 |
|
general-entity-reference { |
10176 |
|
node-name: 'entity'; |
10177 |
|
is-expanded: false; |
10178 |
|
} |
10179 |
|
} |
10180 |
|
} |
10181 |
|
} |
10182 |
|
} |
10183 |
|
@@XMLTest: |
10184 |
|
@@@QName: |
10185 |
|
xp.reptxt.attval.ger.entity.declared.standalone.-2.2.test |
10186 |
|
@@@DEnt: |
10187 |
|
@@@@test:value: |
10188 |
|
<!DOCTYPE p [ |
10189 |
|
<!ENTITY % para "<!-- -->"> |
10190 |
|
%para; |
10191 |
|
<!ENTITY c "&entity;"> |
10192 |
|
]> |
10193 |
|
<p a="&c;"/> |
10194 |
|
@@@test:domTree: |
10195 |
|
document { |
10196 |
|
document-type { } |
10197 |
|
element { |
10198 |
|
attribute { |
10199 |
|
node-name: 'a'; |
10200 |
|
general-entity-reference { |
10201 |
|
node-name: 'c'; |
10202 |
|
is-expanded: false; |
10203 |
|
} |
10204 |
|
} |
10205 |
|
} |
10206 |
|
} |
10207 |
|
@@XMLTest: |
10208 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.standalone.4.test |
10209 |
|
@@@DEnt: |
10210 |
|
@@@@test:value: |
10211 |
|
<?xml version="1.0" standalone="yes"?> |
10212 |
|
<!DOCTYPE p [ |
10213 |
|
<!ENTITY % para SYSTEM "para"> |
10214 |
|
%para; |
10215 |
|
<!ENTITY c "&entity;"> |
10216 |
|
]> |
10217 |
|
<p a="&c;"/> |
10218 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10219 |
|
@@XMLTest: |
10220 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.standalone.-3.test |
10221 |
|
@@@DEnt: |
10222 |
|
@@@@test:value: |
10223 |
|
<?xml version="1.0" standalone="no"?> |
10224 |
|
<!DOCTYPE p [ |
10225 |
|
<!ENTITY c "&entity;"> |
10226 |
|
<!ENTITY % para SYSTEM "para"> |
10227 |
|
%para; |
10228 |
|
]> |
10229 |
|
<p a="&c;"/> |
10230 |
|
@@@test:domTree: |
10231 |
|
document { |
10232 |
|
document-type { } |
10233 |
|
element { |
10234 |
|
attribute { |
10235 |
|
node-name: 'a'; |
10236 |
|
general-entity-reference { |
10237 |
|
node-name: 'c'; |
10238 |
|
is-expanded: true; |
10239 |
|
general-entity-reference { |
10240 |
|
node-name: 'entity'; |
10241 |
|
is-expanded: false; |
10242 |
|
} |
10243 |
|
} |
10244 |
|
} |
10245 |
|
} |
10246 |
|
} |
10247 |
|
@@XMLTest: |
10248 |
|
@@@QName: |
10249 |
|
xp.reptxt.attval.ger.entity.declared.standalone.-3.2.test |
10250 |
|
@@@DEnt: |
10251 |
|
@@@@test:value: |
10252 |
|
<?xml version="1.0" standalone="no"?> |
10253 |
|
<!DOCTYPE p [ |
10254 |
|
<!ENTITY % para SYSTEM "para"> |
10255 |
|
%para; |
10256 |
|
<!ENTITY c "&entity;"> |
10257 |
|
]> |
10258 |
|
<p a="&c;"/> |
10259 |
|
@@@test:domTree: |
10260 |
|
document { |
10261 |
|
document-type { } |
10262 |
|
element { |
10263 |
|
attribute { |
10264 |
|
node-name: 'a'; |
10265 |
|
general-entity-reference { |
10266 |
|
node-name: 'c'; |
10267 |
|
is-expanded: false; |
10268 |
|
} |
10269 |
|
} |
10270 |
|
} |
10271 |
|
} |
10272 |
|
@@XMLTest: |
10273 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.standalone.-4.test |
10274 |
|
@@@DEnt: |
10275 |
|
@@@@test:value: |
10276 |
|
<!DOCTYPE p [ |
10277 |
|
<!ENTITY c "&entity;"> |
10278 |
|
<!ENTITY % para SYSTEM "para"> |
10279 |
|
%para; |
10280 |
|
]> |
10281 |
|
<p a="&c;"/> |
10282 |
|
@@@test:domTree: |
10283 |
|
document { |
10284 |
|
document-type { } |
10285 |
|
element { |
10286 |
|
attribute { |
10287 |
|
node-name: 'a'; |
10288 |
|
general-entity-reference { |
10289 |
|
node-name: 'c'; |
10290 |
|
is-expanded: true; |
10291 |
|
general-entity-reference { |
10292 |
|
node-name: 'entity'; |
10293 |
|
is-expanded: false; |
10294 |
|
} |
10295 |
|
} |
10296 |
|
} |
10297 |
|
} |
10298 |
|
} |
10299 |
|
@@XMLTest: |
10300 |
|
@@@QName: |
10301 |
|
xp.reptxt.attval.ger.entity.declared.standalone.-4.2.test |
10302 |
|
@@@DEnt: |
10303 |
|
@@@@test:value: |
10304 |
|
<!DOCTYPE p [ |
10305 |
|
<!ENTITY % para SYSTEM "para"> |
10306 |
|
%para; |
10307 |
|
<!ENTITY c "&entity;"> |
10308 |
|
]> |
10309 |
|
<p a="&c;"/> |
10310 |
|
@@@test:domTree: |
10311 |
|
document { |
10312 |
|
document-type { } |
10313 |
|
element { |
10314 |
|
attribute { |
10315 |
|
node-name: 'a'; |
10316 |
|
general-entity-reference { |
10317 |
|
node-name: 'c'; |
10318 |
|
is-expanded: false; |
10319 |
|
} |
10320 |
|
} |
10321 |
|
} |
10322 |
|
} |
10323 |
|
@@XMLTest: |
10324 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.standalone.5.test |
10325 |
|
@@@DEnt: |
10326 |
|
@@@@test:value: |
10327 |
|
<?xml version="1.0" standalone="yes"?> |
10328 |
|
<!DOCTYPE p SYSTEM "dtd" [ |
10329 |
|
<!ENTITY c "&entity;"> |
10330 |
|
]> |
10331 |
|
<p a="&c;"/> |
10332 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10333 |
|
@@XMLTest: |
10334 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.standalone.-5.test |
10335 |
|
@@@DEnt: |
10336 |
|
@@@@test:value: |
10337 |
|
<?xml version="1.0" standalone="no"?> |
10338 |
|
<!DOCTYPE p SYSTEM "dtd" [ |
10339 |
|
<!ENTITY c "&entity;"> |
10340 |
|
]> |
10341 |
|
<p a="&c;"/> |
10342 |
|
@@@test:domTree: |
10343 |
|
document { |
10344 |
|
document-type { } |
10345 |
|
element { |
10346 |
|
attribute { |
10347 |
|
node-name: 'a'; |
10348 |
|
general-entity-reference { |
10349 |
|
node-name: 'c'; |
10350 |
|
is-expanded: true; |
10351 |
|
general-entity-reference { |
10352 |
|
node-name: 'entity'; |
10353 |
|
is-expanded: false; |
10354 |
|
} |
10355 |
|
} |
10356 |
|
} |
10357 |
|
} |
10358 |
|
} |
10359 |
|
@@XMLTest: |
10360 |
|
@@@QName: xp.reptxt.attval.ger.entity.declared.standalone.-6.test |
10361 |
|
@@@DEnt: |
10362 |
|
@@@@test:value: |
10363 |
|
<!DOCTYPE p SYSTEM "dtd" [<!ENTITY c "&entity;">]> |
10364 |
|
<p a="&c;"/> |
10365 |
|
@@@test:domTree: |
10366 |
|
document { |
10367 |
|
document-type { } |
10368 |
|
element { |
10369 |
|
attribute { |
10370 |
|
node-name: 'a'; |
10371 |
|
general-entity-reference { |
10372 |
|
node-name: 'c'; |
10373 |
|
is-expanded: true; |
10374 |
|
general-entity-reference { |
10375 |
|
node-name: 'entity'; |
10376 |
|
is-expanded: false; |
10377 |
|
} |
10378 |
|
} |
10379 |
|
} |
10380 |
|
} |
10381 |
|
} |
10382 |
|
|
10383 |
|
@@XMLTest: |
10384 |
|
@@@QName: xp.attlist.dup.entity.declared.1.test |
10385 |
|
@@@DEnt: |
10386 |
|
@@@@test:value: |
10387 |
|
<!DOCTYPE p [ |
10388 |
|
<!ATTLIST p a CDATA "no-entity"> |
10389 |
|
<!ATTLIST p a CDATA "&entity;"> |
10390 |
|
]> |
10391 |
|
<p/> |
10392 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (3, 21)..(3, 29); } |
10393 |
|
@@XMLTest: |
10394 |
|
@@@QName: xp.attlist.dup.entity.declared.2.test |
10395 |
|
@@@DEnt: |
10396 |
|
@@@@test:value: |
10397 |
|
<!DOCTYPE p [ |
10398 |
|
<!ATTLIST p a CDATA "no-entity" |
10399 |
|
a CDATA "&entity;"> |
10400 |
|
]> |
10401 |
|
<p/> |
10402 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (3, 21)..(3, 29); } |
10403 |
|
@@XMLTest: |
10404 |
|
@@@QName: xp.attlist.unused.entity.declared.1.test |
10405 |
|
@@@DEnt: |
10406 |
|
@@@@test:value: |
10407 |
|
<!DOCTYPE p [ |
10408 |
|
<!ATTLIST q a CDATA "&entity;"> |
10409 |
|
]> |
10410 |
|
<p/> |
10411 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (2, 21)..(2, 29); } |
10412 |
|
@@XMLTest: |
10413 |
|
@@@QName: xp.attlist.unused.entity.declared.2.test |
10414 |
|
@@@DEnt: |
10415 |
|
@@@@test:value: |
10416 |
|
<!DOCTYPE p [ |
10417 |
|
<!ATTLIST p a CDATA "&entity;"> |
10418 |
|
]> |
10419 |
|
<p a="bb"/> |
10420 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (2, 21)..(2, 29); } |
10421 |
|
|
10422 |
|
@@XMLTest: |
10423 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.nopref.1.test |
10424 |
|
@@@DEnt: |
10425 |
|
@@@@test:value: |
10426 |
|
<!DOCTYPE p [ |
10427 |
|
<!ENTITY c "&entity;"> |
10428 |
|
<!ATTLIST p a CDATA "&c;"> |
10429 |
|
]> |
10430 |
|
<p/> |
10431 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10432 |
|
@@XMLTest: |
10433 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.nopref.2.test |
10434 |
|
@@@DEnt: |
10435 |
|
@@@@test:value: |
10436 |
|
<!DOCTYPE p [ |
10437 |
|
<!ENTITY other "aa"> |
10438 |
|
<!ENTITY % another "aa"> |
10439 |
|
<!ENTITY c "&entity;"> |
10440 |
|
<!ATTLIST p a CDATA "&c;"> |
10441 |
|
]> |
10442 |
|
<p/> |
10443 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10444 |
|
@@XMLTest: |
10445 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.nopref.3.test |
10446 |
|
@@@DEnt: |
10447 |
|
@@@@test:value: |
10448 |
|
<?xml version="1.0" standalone="yes"?> |
10449 |
|
<!DOCTYPE p [ |
10450 |
|
<!ENTITY c "&entity;"> |
10451 |
|
<!ATTLIST p a CDATA "&c;"> |
10452 |
|
]> |
10453 |
|
<p/> |
10454 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10455 |
|
@@XMLTest: |
10456 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.nopref.4.test |
10457 |
|
@@@DEnt: |
10458 |
|
@@@@test:value: |
10459 |
|
<?xml version="1.0" standalone="no"?> |
10460 |
|
<!DOCTYPE p [ |
10461 |
|
<!ENTITY c "&entity;"> |
10462 |
|
<!ATTLIST p a CDATA "&c;"> |
10463 |
|
]> |
10464 |
|
<p/> |
10465 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10466 |
|
@@XMLTest: |
10467 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.nopref.5.test |
10468 |
|
@@@DEnt: |
10469 |
|
@@@@test:value: |
10470 |
|
<?xml version="1.0" standalone="yes"?> |
10471 |
|
<!DOCTYPE p [ |
10472 |
|
<!ENTITY other "aa"> |
10473 |
|
<!ENTITY % another "aa"> |
10474 |
|
<!ENTITY c "&entity;"> |
10475 |
|
<!ATTLIST p a CDATA "&c;"> |
10476 |
|
]> |
10477 |
|
<p/> |
10478 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10479 |
|
@@XMLTest: |
10480 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.nopref.6.test |
10481 |
|
@@@DEnt: |
10482 |
|
@@@@test:value: |
10483 |
|
<?xml version="1.0" standalone="no"?> |
10484 |
|
<!DOCTYPE p [ |
10485 |
|
<!ENTITY other "aa"> |
10486 |
|
<!ENTITY % another "aa"> |
10487 |
|
<!ENTITY c "&entity;"> |
10488 |
|
<!ATTLIST p a CDATA "&c;"> |
10489 |
|
]> |
10490 |
|
<p/> |
10491 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10492 |
|
@@XMLTest: |
10493 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.nopref.-1.test |
10494 |
|
@@@DEnt: |
10495 |
|
@@@@test:value: |
10496 |
|
<!DOCTYPE p [ |
10497 |
|
<!ENTITY entity "value"> |
10498 |
|
<!ENTITY c "&entity;"> |
10499 |
|
<!ATTLIST p a CDATA "&c;"> |
10500 |
|
]> |
10501 |
|
<p/> |
10502 |
|
@@@test:domTree: |
10503 |
|
document { |
10504 |
|
document-type { |
10505 |
|
general-entity { |
10506 |
|
node-name: 'entity'; |
10507 |
|
text-content: 'value'; |
10508 |
|
} |
10509 |
|
general-entity { |
10510 |
|
node-name: 'c'; |
10511 |
|
general-entity-reference { |
10512 |
|
node-name: 'entity'; |
10513 |
|
is-expanded: true; |
10514 |
|
text-content: 'value'; |
10515 |
|
} |
10516 |
|
} |
10517 |
|
element-type-definition { |
10518 |
|
node-name: 'p'; |
10519 |
|
attribute-definition { |
10520 |
|
node-name: 'a'; |
10521 |
|
general-entity-reference { |
10522 |
|
node-name: 'c'; |
10523 |
|
is-expanded: true; |
10524 |
|
general-entity-reference { |
10525 |
|
node-name: 'entity'; |
10526 |
|
is-expanded: true; |
10527 |
|
text-content: 'value'; |
10528 |
|
} |
10529 |
|
} |
10530 |
|
} |
10531 |
|
} |
10532 |
|
} |
10533 |
|
element { |
10534 |
|
attribute { |
10535 |
|
node-name: 'a'; |
10536 |
|
specified: false; |
10537 |
|
general-entity-reference { |
10538 |
|
node-name: 'c'; |
10539 |
|
general-entity-reference { |
10540 |
|
node-name: 'entity'; |
10541 |
|
text-content: 'value'; |
10542 |
|
} |
10543 |
|
} |
10544 |
|
} |
10545 |
|
} |
10546 |
|
} |
10547 |
|
@@XMLTest: |
10548 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.nopref.-2.test |
10549 |
|
@@@DEnt: |
10550 |
|
@@@@test:value: |
10551 |
|
<!DOCTYPE p [ |
10552 |
|
<!ENTITY entity "value"> |
10553 |
|
<!ENTITY another SYSTEM "another"> |
10554 |
|
<!ENTITY c "&entity;"> |
10555 |
|
<!ATTLIST p a CDATA "&c;"> |
10556 |
|
]> |
10557 |
|
<p/> |
10558 |
|
@@@test:domTree: |
10559 |
|
document { |
10560 |
|
document-type { |
10561 |
|
general-entity { |
10562 |
|
node-name: 'entity'; |
10563 |
|
text-content: 'value'; |
10564 |
|
} |
10565 |
|
general-entity { |
10566 |
|
node-name: 'c'; |
10567 |
|
general-entity-reference { |
10568 |
|
node-name: 'entity'; |
10569 |
|
text-content: 'value'; |
10570 |
|
} |
10571 |
|
} |
10572 |
|
general-entity { |
10573 |
|
node-name: 'another'; |
10574 |
|
public-id: null; |
10575 |
|
system-id: 'another'; |
10576 |
|
has-replacement-tree: false; |
10577 |
|
} |
10578 |
|
element-type-definition { |
10579 |
|
node-name: 'p'; |
10580 |
|
attribute-definition { |
10581 |
|
node-name: 'a'; |
10582 |
|
general-entity-reference { |
10583 |
|
node-name: 'c'; |
10584 |
|
is-expanded: true; |
10585 |
|
general-entity-reference { |
10586 |
|
node-name: 'entity'; |
10587 |
|
is-expanded: true; |
10588 |
|
text-content: 'value'; |
10589 |
|
} |
10590 |
|
} |
10591 |
|
} |
10592 |
|
} |
10593 |
|
} |
10594 |
|
element { |
10595 |
|
attribute { |
10596 |
|
node-name: 'a'; |
10597 |
|
specified: false; |
10598 |
|
general-entity-reference { |
10599 |
|
node-name: 'c'; |
10600 |
|
general-entity-reference { |
10601 |
|
node-name: 'entity'; |
10602 |
|
text-content: 'value'; |
10603 |
|
} |
10604 |
|
} |
10605 |
|
} |
10606 |
|
} |
10607 |
|
} |
10608 |
|
@@XMLTest: |
10609 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.standalone.2.test |
10610 |
|
@@@DEnt: |
10611 |
|
@@@@test:value: |
10612 |
|
<?xml version="1.0" standalone="yes"?> |
10613 |
|
<!DOCTYPE p [ |
10614 |
|
<!ENTITY c "&entity;"> |
10615 |
|
<!ATTLIST p a CDATA "&c;"> |
10616 |
|
]> |
10617 |
|
<p/> |
10618 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10619 |
|
@@XMLTest: |
10620 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.standalone.3.test |
10621 |
|
@@@DEnt: |
10622 |
|
@@@@test:value: |
10623 |
|
<?xml version="1.0" standalone="yes"?> |
10624 |
|
<!DOCTYPE p [ |
10625 |
|
<!ENTITY % para "<!-- -->"> |
10626 |
|
%para; |
10627 |
|
<!ENTITY c "&entity;"> |
10628 |
|
<!ATTLIST p a CDATA "&c;"> |
10629 |
|
]> |
10630 |
|
<p/> |
10631 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10632 |
|
@@XMLTest: |
10633 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.standalone.-1.test |
10634 |
|
@@@DEnt: |
10635 |
|
@@@@test:value: |
10636 |
|
<?xml version="1.0" standalone="no"?> |
10637 |
|
<!DOCTYPE p [ |
10638 |
|
<!ENTITY c "&entity;"> |
10639 |
|
<!ATTLIST p a CDATA "&c;"> |
10640 |
|
<!ENTITY % para "<!-- -->"> |
10641 |
|
%para; |
10642 |
|
]> |
10643 |
|
<p/> |
10644 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10645 |
|
@@XMLTest: |
10646 |
|
@@@QName: |
10647 |
|
xp.reptxt.attlist.attval.ger.entity.declared.standalone.-1.2.test |
10648 |
|
@@@DEnt: |
10649 |
|
@@@@test:value: |
10650 |
|
<?xml version="1.0" standalone="no"?> |
10651 |
|
<!DOCTYPE p [ |
10652 |
|
<!ENTITY % para "<!-- -->"> |
10653 |
|
%para; |
10654 |
|
<!ENTITY c "&entity;"> |
10655 |
|
<!ATTLIST p a CDATA "&c;"> |
10656 |
|
]> |
10657 |
|
<p g="h"/> |
10658 |
|
@@@test:domTree: |
10659 |
|
document { |
10660 |
|
document-type { } |
10661 |
|
element { |
10662 |
|
attribute { |
10663 |
|
node-name: 'g'; |
10664 |
|
text-content: 'h'; |
10665 |
|
} |
10666 |
|
} |
10667 |
|
} |
10668 |
|
@@XMLTest: |
10669 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.standalone.-2.test |
10670 |
|
@@@DEnt: |
10671 |
|
@@@@test:value: |
10672 |
|
<!DOCTYPE p [ |
10673 |
|
<!ENTITY c "&entity;"> |
10674 |
|
<!ATTLIST p a CDATA "&c;"> |
10675 |
|
<!ENTITY % para "<!-- -->"> |
10676 |
|
%para; |
10677 |
|
]> |
10678 |
|
<p/> |
10679 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10680 |
|
@@XMLTest: |
10681 |
|
@@@QName: |
10682 |
|
xp.reptxt.attlist.attval.ger.entity.declared.standalone.-2.2.test |
10683 |
|
@@@DEnt: |
10684 |
|
@@@@test:value: |
10685 |
|
<!DOCTYPE p [ |
10686 |
|
<!ENTITY % para "<!-- -->"> |
10687 |
|
%para; |
10688 |
|
<!ENTITY c "&entity;"> |
10689 |
|
<!ATTLIST p a CDATA "&c;"> |
10690 |
|
]> |
10691 |
|
<p g="h"/> |
10692 |
|
@@@test:domTree: |
10693 |
|
document { |
10694 |
|
document-type { } |
10695 |
|
element { |
10696 |
|
attribute { |
10697 |
|
node-name: 'g'; |
10698 |
|
text-content: 'h'; |
10699 |
|
} |
10700 |
|
} |
10701 |
|
} |
10702 |
|
@@XMLTest: |
10703 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.standalone.4.test |
10704 |
|
@@@DEnt: |
10705 |
|
@@@@test:value: |
10706 |
|
<?xml version="1.0" standalone="yes"?> |
10707 |
|
<!DOCTYPE p [ |
10708 |
|
<!ENTITY % para SYSTEM "para"> |
10709 |
|
%para; |
10710 |
|
<!ENTITY c "&entity;"> |
10711 |
|
<!ATTLIST p a CDATA "&c;"> |
10712 |
|
]> |
10713 |
|
<p/> |
10714 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10715 |
|
@@XMLTest: |
10716 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.standalone.-3.test |
10717 |
|
@@@DEnt: |
10718 |
|
@@@@test:value: |
10719 |
|
<?xml version="1.0" standalone="no"?> |
10720 |
|
<!DOCTYPE p [ |
10721 |
|
<!ENTITY c "&entity;"> |
10722 |
|
<!ATTLIST p a CDATA "&c;"> |
10723 |
|
<!ENTITY % para SYSTEM "para"> |
10724 |
|
%para; |
10725 |
|
]> |
10726 |
|
<p/> |
10727 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10728 |
|
@@XMLTest: |
10729 |
|
@@@QName: |
10730 |
|
xp.reptxt.attlist.attval.ger.entity.declared.standalone.-3.2.test |
10731 |
|
@@@DEnt: |
10732 |
|
@@@@test:value: |
10733 |
|
<?xml version="1.0" standalone="no"?> |
10734 |
|
<!DOCTYPE p [ |
10735 |
|
<!ENTITY % para SYSTEM "para"> |
10736 |
|
%para; |
10737 |
|
<!ENTITY c "&entity;"> |
10738 |
|
<!ATTLIST p a CDATA "&c;"> |
10739 |
|
]> |
10740 |
|
<p g="h"/> |
10741 |
|
@@@test:domTree: |
10742 |
|
document { |
10743 |
|
document-type { } |
10744 |
|
element { |
10745 |
|
attribute { |
10746 |
|
node-name: 'g'; |
10747 |
|
text-content: 'h'; |
10748 |
|
} |
10749 |
|
} |
10750 |
|
} |
10751 |
|
@@XMLTest: |
10752 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.standalone.-4.test |
10753 |
|
@@@DEnt: |
10754 |
|
@@@@test:value: |
10755 |
|
<!DOCTYPE p [ |
10756 |
|
<!ENTITY c "&entity;"> |
10757 |
|
<!ATTLIST p a CDATA "&c;"> |
10758 |
|
<!ENTITY % para SYSTEM "para"> |
10759 |
|
%para; |
10760 |
|
]> |
10761 |
|
<p/> |
10762 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10763 |
|
@@XMLTest: |
10764 |
|
@@@QName: |
10765 |
|
xp.reptxt.attlist.attval.ger.entity.declared.standalone.-4.2.test |
10766 |
|
@@@DEnt: |
10767 |
|
@@@@test:value: |
10768 |
|
<!DOCTYPE p [ |
10769 |
|
<!ENTITY % para SYSTEM "para"> |
10770 |
|
%para; |
10771 |
|
<!ENTITY c "&entity;"> |
10772 |
|
<!ATTLIST p a CDATA "&c;"> |
10773 |
|
]> |
10774 |
|
<p g="h"/> |
10775 |
|
@@@test:domTree: |
10776 |
|
document { |
10777 |
|
document-type { } |
10778 |
|
element { |
10779 |
|
attribute { |
10780 |
|
node-name: 'g'; |
10781 |
|
text-content: 'h'; |
10782 |
|
} |
10783 |
|
} |
10784 |
|
} |
10785 |
|
@@XMLTest: |
10786 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.standalone.5.test |
10787 |
|
@@@DEnt: |
10788 |
|
@@@@test:value: |
10789 |
|
<?xml version="1.0" standalone="yes"?> |
10790 |
|
<!DOCTYPE p SYSTEM "dtd" [ |
10791 |
|
<!ENTITY c "&entity;"> |
10792 |
|
<!ATTLIST p a CDATA "&c;"> |
10793 |
|
]> |
10794 |
|
<p/> |
10795 |
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (1, 1)..(1, 8); } |
10796 |
|
@@XMLTest: |
10797 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.standalone.-5.test |
10798 |
|
@@@DEnt: |
10799 |
|
@@@@test:value: |
10800 |
|
<?xml version="1.0" standalone="no"?> |
10801 |
|
<!DOCTYPE p SYSTEM "dtd" [ |
10802 |
|
<!ENTITY c "&entity;"> |
10803 |
|
<!ATTLIST p a CDATA "&c;"> |
10804 |
|
]> |
10805 |
|
<p/> |
10806 |
|
@@@test:domTree: |
10807 |
|
document { |
10808 |
|
document-type { } |
10809 |
|
element { |
10810 |
|
attribute { |
10811 |
|
node-name: 'a'; |
10812 |
|
specified: false; |
10813 |
|
general-entity-reference { |
10814 |
|
node-name: 'c'; |
10815 |
|
is-expanded: true; |
10816 |
|
general-entity-reference { |
10817 |
|
node-name: 'entity'; |
10818 |
|
is-expanded: false; |
10819 |
|
} |
10820 |
|
} |
10821 |
|
} |
10822 |
|
} |
10823 |
|
} |
10824 |
|
@@XMLTest: |
10825 |
|
@@@QName: xp.reptxt.attlist.attval.ger.entity.declared.standalone.-6.test |
10826 |
|
@@@DEnt: |
10827 |
|
@@@@test:value: |
10828 |
|
<!DOCTYPE p SYSTEM "dtd" [<!ENTITY c "&entity;"> |
10829 |
|
<!ATTLIST p a CDATA "&c;"> |
10830 |
|
]> |
10831 |
|
<p/> |
10832 |
|
@@@test:domTree: |
10833 |
|
document { |
10834 |
|
document-type { } |
10835 |
|
element { |
10836 |
|
attribute { |
10837 |
|
node-name: 'a'; |
10838 |
|
specified: false; |
10839 |
|
general-entity-reference { |
10840 |
|
node-name: 'c'; |
10841 |
|
is-expanded: true; |
10842 |
|
general-entity-reference { |
10843 |
|
node-name: 'entity'; |
10844 |
|
is-expanded: false; |
10845 |
|
} |
10846 |
|
} |
10847 |
|
} |
10848 |
|
} |
10849 |
|
} |
10850 |
|
|
10851 |
|
@@XMLTest: |
10852 |
@@@QName: xp.attlist.attval.ger.entity.declared.nopref.1.test |
@@@QName: xp.attlist.attval.ger.entity.declared.nopref.1.test |
10853 |
@@@DEnt: |
@@@DEnt: |
10854 |
@@@@test:value: |
@@@@test:value: |
11348 |
@@@enImplNote: |
@@@enImplNote: |
11349 |
This document has an error - result is implementation dependent. |
This document has an error - result is implementation dependent. |
11350 |
|
|
|
@@XMLTest: |
|
|
@@@QName: xp.attlist.dup.entity.declared.1.test |
|
|
@@@DEnt: |
|
|
@@@@test:value: |
|
|
<!DOCTYPE p [ |
|
|
<!ATTLIST p a CDATA "no-entity"> |
|
|
<!ATTLIST p a CDATA "&entity;"> |
|
|
]> |
|
|
<p/> |
|
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (3, 21)..(3, 29); } |
|
|
@@XMLTest: |
|
|
@@@QName: xp.attlist.dup.entity.declared.2.test |
|
|
@@@DEnt: |
|
|
@@@@test:value: |
|
|
<!DOCTYPE p [ |
|
|
<!ATTLIST p a CDATA "no-entity" |
|
|
a CDATA "&entity;"> |
|
|
]> |
|
|
<p/> |
|
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (3, 21)..(3, 29); } |
|
|
@@XMLTest: |
|
|
@@@QName: xp.attlist.unused.entity.declared.1.test |
|
|
@@@DEnt: |
|
|
@@@@test:value: |
|
|
<!DOCTYPE p [ |
|
|
<!ATTLIST q a CDATA "&entity;"> |
|
|
]> |
|
|
<p/> |
|
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (2, 21)..(2, 29); } |
|
|
@@XMLTest: |
|
|
@@@QName: xp.attlist.unused.entity.declared.2.test |
|
|
@@@DEnt: |
|
|
@@@@test:value: |
|
|
<!DOCTYPE p [ |
|
|
<!ATTLIST p a CDATA "&entity;"> |
|
|
]> |
|
|
<p a="bb"/> |
|
|
@@@c:erred: <[[xp|wf-entity-declared]]> { (2, 21)..(2, 29); } |
|
|
|
|
11351 |
@@enImplNote: |
@@enImplNote: |
11352 |
{TODO:: Entity declared WFC for |
{TODO:: Entity declared WFC for |
11353 |
|
|
|
- General entity references in replacement texts referenced |
|
|
in attribute value literals in tags |
|
|
|
|
|
- General entity references in replacement texts referenced |
|
|
in attribute value literals in attlist declarations |
|
|
|
|
11354 |
- General entity references in entity value?? |
- General entity references in entity value?? |
11355 |
|
|
11356 |
} |
} |