661 |
} |
} |
662 |
|
|
663 |
## Replacement tree for general |Entity| nodes |
## Replacement tree for general |Entity| nodes |
664 |
my @ent = values %{$self->{general_entity}}; |
if ($self->{parser_cfg}-><M::c|DOMConfiguration.getParameter> |
665 |
for my $ent (@ent) { |
(<Q::cfg|entity-replacement-tree>)) { |
666 |
if (exists $ent->{has_replacement_text}) { |
my @ent = values %{$self->{general_entity}}; |
667 |
|
for my $ent (@ent) { |
668 |
|
if (exists $ent->{has_replacement_text}) { |
669 |
my $ent_name = $ent->{name}; |
my $ent_name = $ent->{name}; |
670 |
$self->{entity} = [<Code::getCopyOfEntityState:: |
$self->{entity} = [<Code::getCopyOfEntityState:: |
671 |
$entity_type = 'general_entity', |
$entity_type = 'general_entity', |
682 |
## in |DOMLS:PARSE_ERR| exception thrown? |
## in |DOMLS:PARSE_ERR| exception thrown? |
683 |
} |
} |
684 |
## TODO: Read-only if configuration (for all entities) |
## TODO: Read-only if configuration (for all entities) |
685 |
} |
} |
686 |
|
} # cfg|entity-replacement-tree |
687 |
|
|
688 |
## Turns flags to their default value |
## Turns flags to their default value |
689 |
$self->{doc_cfg}-><M::c|DOMConfiguration.setParameter> |
$self->{doc_cfg}-><M::c|DOMConfiguration.setParameter> |
2753 |
} # Otherwise VC error |
} # Otherwise VC error |
2754 |
push @{$self->{entity}}, <Code::getEmptyEntityState:: |
push @{$self->{entity}}, <Code::getEmptyEntityState:: |
2755 |
$name = $name>; |
$name = $name>; |
2756 |
$er-><AS::x|EntityReference.isExpanded> (false); |
$er-><AS::x|EntityReference.manakaiExpanded> (false); |
2757 |
|
|
2758 |
} else { # there IS entity declaration |
} else { # there IS entity declaration |
2759 |
if (($self->{standalone} or not $self->{has_xref}) and |
if (($self->{standalone} or not $self->{has_xref}) and |
2773 |
__CODE{ParseError}__; |
__CODE{ParseError}__; |
2774 |
} |
} |
2775 |
} |
} |
2776 |
$er-><AS::x|EntityReference.isExpanded> |
$er-><AS::x|EntityReference.manakaiExpanded> |
2777 |
($ent->{has_replacement_text}); |
($ent->{has_replacement_text}); |
2778 |
push @{$self->{entity}}, <Code::getCopyOfEntityState:: |
push @{$self->{entity}}, <Code::getCopyOfEntityState:: |
2779 |
$entity_type = 'general_entity', |
$entity_type = 'general_entity', |
2811 |
} |
} |
2812 |
open my $empty, '<', \''; |
open my $empty, '<', \''; |
2813 |
$self->{entity}->[-1]->{fh} = $empty; |
$self->{entity}->[-1]->{fh} = $empty; |
2814 |
$er-><AS::x|EntityReference.isExpanded> (false); |
$er-><AS::x|EntityReference.manakaiExpanded> (false); |
2815 |
} # recursive |
} # recursive |
2816 |
$ent->{is_opened} = true; |
$ent->{is_opened} = true; |
2817 |
} # entity declared |
} # entity declared |
2915 |
} # Otherwise VC error |
} # Otherwise VC error |
2916 |
push @{$self->{entity}}, <Code::getEmptyEntityState:: |
push @{$self->{entity}}, <Code::getEmptyEntityState:: |
2917 |
$name = $name>; |
$name = $name>; |
2918 |
$er-><AS::x|EntityReference.isExpanded> (false); |
$er-><AS::x|EntityReference.manakaiExpanded> (false); |
2919 |
|
|
2920 |
} else { # there IS entity declaration |
} else { # there IS entity declaration |
2921 |
if (($self->{standalone} or not $self->{has_xref}) and |
if (($self->{standalone} or not $self->{has_xref}) and |
2953 |
## NOTE: |xp:wf-parsed-entity| is not checked |
## NOTE: |xp:wf-parsed-entity| is not checked |
2954 |
} # if external entity |
} # if external entity |
2955 |
|
|
2956 |
$er-><AS::x|EntityReference.isExpanded> |
$er-><AS::x|EntityReference.manakaiExpanded> |
2957 |
($ent->{has_replacement_text}); |
($ent->{has_replacement_text}); |
2958 |
push @{$self->{entity}}, <Code::getCopyOfEntityState:: |
push @{$self->{entity}}, <Code::getCopyOfEntityState:: |
2959 |
$entity_type = 'general_entity', |
$entity_type = 'general_entity', |
2975 |
} |
} |
2976 |
open my $empty, '<', \''; |
open my $empty, '<', \''; |
2977 |
$self->{entity}->[-1]->{fh} = $empty; |
$self->{entity}->[-1]->{fh} = $empty; |
2978 |
$er-><AS::x|EntityReference.isExpanded> (false); |
$er-><AS::x|EntityReference.manakaiExpanded> (false); |
2979 |
} # recursive |
} # recursive |
2980 |
$ent->{is_opened} = true; |
$ent->{is_opened} = true; |
2981 |
} |
} |
3073 |
} # Otherwise VC error |
} # Otherwise VC error |
3074 |
push @{$self->{entity}}, <Code::getEmptyEntityState:: |
push @{$self->{entity}}, <Code::getEmptyEntityState:: |
3075 |
$name = $name>; |
$name = $name>; |
3076 |
$er-><AS::x|EntityReference.isExpanded> (false); |
$er-><AS::x|EntityReference.manakaiExpanded> (false); |
3077 |
|
|
3078 |
} else { # there IS entity declaration |
} else { # there IS entity declaration |
3079 |
if (($self->{standalone} or not $self->{has_xref}) and |
if (($self->{standalone} or not $self->{has_xref}) and |
3111 |
## NOTE: |xp:wf-parsed-entity| is not checked |
## NOTE: |xp:wf-parsed-entity| is not checked |
3112 |
} # if external entity |
} # if external entity |
3113 |
|
|
3114 |
$er-><AS::x|EntityReference.isExpanded> |
$er-><AS::x|EntityReference.manakaiExpanded> |
3115 |
($ent->{has_replacement_text}); |
($ent->{has_replacement_text}); |
3116 |
push @{$self->{entity}}, <Code::getCopyOfEntityState:: |
push @{$self->{entity}}, <Code::getCopyOfEntityState:: |
3117 |
$entity_type = 'general_entity', |
$entity_type = 'general_entity', |
3133 |
} |
} |
3134 |
open my $empty, '<', \''; |
open my $empty, '<', \''; |
3135 |
$self->{entity}->[-1]->{fh} = $empty; |
$self->{entity}->[-1]->{fh} = $empty; |
3136 |
$er-><AS::x|EntityReference.isExpanded> (false); |
$er-><AS::x|EntityReference.manakaiExpanded> (false); |
3137 |
} # recursive |
} # recursive |
3138 |
$ent->{is_opened} = true; |
$ent->{is_opened} = true; |
3139 |
} |
} |
5421 |
$ |
$ |
5422 |
"> |
"> |
5423 |
]><a/> |
]><a/> |
5424 |
|
@@@cfg:entity-replacement-tree: 1 |
5425 |
@@@test:domTree: |
@@@test:domTree: |
5426 |
document { |
document { |
5427 |
document-type { |
document-type { |
5448 |
‘’“”•–—$ |
‘’“”•–—$ |
5449 |
˜™š›œžŸ"> |
˜™š›œžŸ"> |
5450 |
]><a/> |
]><a/> |
5451 |
|
@@@cfg:entity-replacement-tree: 1 |
5452 |
@@@test:domTree: |
@@@test:domTree: |
5453 |
document { |
document { |
5454 |
document-type { |
document-type { |
6464 |
<!ENTITY cdata "<![CDATA[text]]>"> |
<!ENTITY cdata "<![CDATA[text]]>"> |
6465 |
]> |
]> |
6466 |
<p>&cdata;</p> |
<p>&cdata;</p> |
6467 |
|
@@@cfg:entity-replacement-tree: 1 |
6468 |
@@@test:domTree: |
@@@test:domTree: |
6469 |
document { |
document { |
6470 |
document-type { |
document-type { |
6478 |
element { |
element { |
6479 |
general-entity-reference { |
general-entity-reference { |
6480 |
node-name: 'cdata'; |
node-name: 'cdata'; |
6481 |
is-expanded: true; |
manakai-expanded: true; |
6482 |
cdata-section { |
cdata-section { |
6483 |
data: 'text'; |
data: 'text'; |
6484 |
} |
} |
7576 |
<!ENTITY e "
 
 … 
 $ |
<!ENTITY e "
 
 … 
 $ |
7577 |

… 
"> |

… 
"> |
7578 |
]><a>&e;</a> |
]><a>&e;</a> |
7579 |
|
@@@cfg:entity-replacement-tree: 1 |
7580 |
@@@test:domTree: |
@@@test:domTree: |
7581 |
document { |
document { |
7582 |
xml-version: '1.0'; |
xml-version: '1.0'; |
7601 |
<!ENTITY e "
 
 … 
 $ |
<!ENTITY e "
 
 … 
 $ |
7602 |

… 
"> |

… 
"> |
7603 |
]><a>&e;</a> |
]><a>&e;</a> |
7604 |
|
@@@cfg:entity-replacement-tree: 1 |
7605 |
@@@test:domTree: |
@@@test:domTree: |
7606 |
document { |
document { |
7607 |
xml-version: '1.1'; |
xml-version: '1.1'; |
8200 |
<!ENTITY ent2 "ddd&ent;"> |
<!ENTITY ent2 "ddd&ent;"> |
8201 |
]> |
]> |
8202 |
<a b="c&ent2;"/> |
<a b="c&ent2;"/> |
8203 |
|
@@@cfg:entity-replacement-tree: 1 |
8204 |
@@@c:erred: <[[xp|wf-no-external-entity-references]]> { (1, 4)..(1, 8); } |
@@@c:erred: <[[xp|wf-no-external-entity-references]]> { (1, 4)..(1, 8); } |
8205 |
@@@c:erred: <[[xp|wf-parsed-entity]]> { } |
@@@c:erred: <[[xp|wf-parsed-entity]]> { } |
8206 |
@@XMLTest: |
@@XMLTest: |
8211 |
<!ENTITY ent "aa<bb"> |
<!ENTITY ent "aa<bb"> |
8212 |
]> |
]> |
8213 |
<a b="c&ent;"/> |
<a b="c&ent;"/> |
8214 |
|
@@@cfg:entity-replacement-tree: 1 |
8215 |
@@@c:erred: <[[xp|wf-no-lt-in-attribute-values]]> { (1, 3); } |
@@@c:erred: <[[xp|wf-no-lt-in-attribute-values]]> { (1, 3); } |
8216 |
@@@c:erred: |
@@@c:erred: |
8217 |
@@@@@: <[[xp|wf-syntax-error]]> { (1, 3)..(1, 6); } |
@@@@@: <[[xp|wf-syntax-error]]> { (1, 3)..(1, 6); } |
8218 |
@@@@enImplNote: When entity node is created. |
@@@@enImplNote: When entity node is created. |
8219 |
@@XMLTest: |
@@XMLTest: |
8220 |
|
@@@QName: xp.no.lt.in.attr.value.1.2.test |
8221 |
|
@@@DEnt: |
8222 |
|
@@@@test:value: |
8223 |
|
<!DOCTYPE a [ |
8224 |
|
<!ENTITY ent "aa<bb"> |
8225 |
|
]> |
8226 |
|
<a b="c&ent;"/> |
8227 |
|
@@@cfg:entity-replacement-tree: 0 |
8228 |
|
@@@c:erred: <[[xp|wf-no-lt-in-attribute-values]]> { (1, 3); } |
8229 |
|
@@XMLTest: |
8230 |
@@@QName: xp.no.lt.in.attr.value.2.test |
@@@QName: xp.no.lt.in.attr.value.2.test |
8231 |
@@@DEnt: |
@@@DEnt: |
8232 |
@@@@test:value: |
@@@@test:value: |
8235 |
<!ENTITY ent2 "ccc&ent;"> |
<!ENTITY ent2 "ccc&ent;"> |
8236 |
]> |
]> |
8237 |
<a b="c&ent2;"/> |
<a b="c&ent2;"/> |
8238 |
|
@@@cfg:entity-replacement-tree: 1 |
8239 |
@@@c:erred: <[[xp|wf-no-lt-in-attribute-values]]> { (1, 3); } |
@@@c:erred: <[[xp|wf-no-lt-in-attribute-values]]> { (1, 3); } |
8240 |
@@@c:erred: |
@@@c:erred: |
8241 |
@@@@@: <[[xp|wf-syntax-error]]> { (1, 3)..(1, 6); } |
@@@@@: <[[xp|wf-syntax-error]]> { (1, 3)..(1, 6); } |
8248 |
<!ENTITY ent "aa<bb"> |
<!ENTITY ent "aa<bb"> |
8249 |
]> |
]> |
8250 |
<a b="c&ent;"/> |
<a b="c&ent;"/> |
8251 |
|
@@@cfg:entity-replacement-tree: 1 |
8252 |
@@@c:erred: <[[xp|wf-no-lt-in-attribute-values]]> { (1, 3); } |
@@@c:erred: <[[xp|wf-no-lt-in-attribute-values]]> { (1, 3); } |
8253 |
@@@c:erred: |
@@@c:erred: |
8254 |
@@@@@: <[[xp|wf-syntax-error]]> { (1, 3)..(1, 6); } |
@@@@@: <[[xp|wf-syntax-error]]> { (1, 3)..(1, 6); } |
8262 |
<!ENTITY ent2 "ccc&ent;"> |
<!ENTITY ent2 "ccc&ent;"> |
8263 |
]> |
]> |
8264 |
<a b="c&ent2;"/> |
<a b="c&ent2;"/> |
8265 |
|
@@@cfg:entity-replacement-tree: 1 |
8266 |
@@@c:erred: <[[xp|wf-no-lt-in-attribute-values]]> { (1, 3); } |
@@@c:erred: <[[xp|wf-no-lt-in-attribute-values]]> { (1, 3); } |
8267 |
@@@c:erred: |
@@@c:erred: |
8268 |
@@@@@: <[[xp|wf-syntax-error]]> { (1, 3)..(1, 6); } |
@@@@@: <[[xp|wf-syntax-error]]> { (1, 3)..(1, 6); } |
8275 |
<!ENTITY ent "aa<bb"> |
<!ENTITY ent "aa<bb"> |
8276 |
]> |
]> |
8277 |
<a b="c&ent;"/> |
<a b="c&ent;"/> |
8278 |
|
@@@cfg:entity-replacement-tree: 1 |
8279 |
@@@test:domTree: |
@@@test:domTree: |
8280 |
document { |
document { |
8281 |
document-type { |
document-type { |
8289 |
node-name: 'b'; |
node-name: 'b'; |
8290 |
text { data: 'c'; } |
text { data: 'c'; } |
8291 |
general-entity-reference { |
general-entity-reference { |
8292 |
is-expanded: true; |
manakai-expanded: true; |
8293 |
node-name: 'ent'; |
node-name: 'ent'; |
8294 |
text-content: 'aa<bb'; |
text-content: 'aa<bb'; |
8295 |
} |
} |
8305 |
<!ENTITY ent2 "ccc&ent;"> |
<!ENTITY ent2 "ccc&ent;"> |
8306 |
]> |
]> |
8307 |
<a b="c&ent2;"/> |
<a b="c&ent2;"/> |
8308 |
|
@@@cfg:entity-replacement-tree: 1 |
8309 |
@@@test:domTree: |
@@@test:domTree: |
8310 |
document { |
document { |
8311 |
document-type { |
document-type { |
8319 |
general-entity-reference { |
general-entity-reference { |
8320 |
node-name: 'ent'; |
node-name: 'ent'; |
8321 |
text-content: 'aa<bb'; |
text-content: 'aa<bb'; |
8322 |
is-expanded: true; |
manakai-expanded: true; |
8323 |
} |
} |
8324 |
} |
} |
8325 |
} |
} |
8333 |
general-entity-reference { |
general-entity-reference { |
8334 |
node-name: 'ent'; |
node-name: 'ent'; |
8335 |
text-content: 'aa<bb'; |
text-content: 'aa<bb'; |
8336 |
is-expanded: true; |
manakai-expanded: true; |
8337 |
} |
} |
8338 |
is-expanded: true; |
manakai-expanded: true; |
8339 |
} |
} |
8340 |
} |
} |
8341 |
} |
} |
8380 |
<!ENTITY entity "entity value"> |
<!ENTITY entity "entity value"> |
8381 |
]> |
]> |
8382 |
<a></a> |
<a></a> |
8383 |
|
@@@cfg:entity-replacement-tree: 1 |
8384 |
@@@test:domTree: |
@@@test:domTree: |
8385 |
document { |
document { |
8386 |
xml-version: '1.0'; |
xml-version: '1.0'; |
8433 |
<!ENTITY entity "entity value"> |
<!ENTITY entity "entity value"> |
8434 |
]> |
]> |
8435 |
<a>&entity;</a> |
<a>&entity;</a> |
8436 |
|
@@@cfg:entity-replacement-tree: 1 |
8437 |
@@@test:domTree: |
@@@test:domTree: |
8438 |
document { |
document { |
8439 |
xml-version: '1.0'; |
xml-version: '1.0'; |
8456 |
text { |
text { |
8457 |
data: 'entity value'; |
data: 'entity value'; |
8458 |
} |
} |
8459 |
is-expanded: true; |
manakai-expanded: true; |
8460 |
} |
} |
8461 |
} |
} |
8462 |
} |
} |
8468 |
<!ENTITY entity "entity value"> |
<!ENTITY entity "entity value"> |
8469 |
]> |
]> |
8470 |
<a>&entity; and &entity;</a> |
<a>&entity; and &entity;</a> |
8471 |
|
@@@cfg:entity-replacement-tree: 1 |
8472 |
@@@test:domTree: |
@@@test:domTree: |
8473 |
document { |
document { |
8474 |
xml-version: '1.0'; |
xml-version: '1.0'; |
8491 |
text { |
text { |
8492 |
data: 'entity value'; |
data: 'entity value'; |
8493 |
} |
} |
8494 |
is-expanded: true; |
manakai-expanded: true; |
8495 |
} |
} |
8496 |
text { data: ' and '; } |
text { data: ' and '; } |
8497 |
general-entity-reference { |
general-entity-reference { |
8499 |
text { |
text { |
8500 |
data: 'entity value'; |
data: 'entity value'; |
8501 |
} |
} |
8502 |
is-expanded: true; |
manakai-expanded: true; |
8503 |
} |
} |
8504 |
} |
} |
8505 |
} |
} |
8511 |
<!ENTITY entity "entity <p>value</p> with <e>element</e> "> |
<!ENTITY entity "entity <p>value</p> with <e>element</e> "> |
8512 |
]> |
]> |
8513 |
<a>&entity;</a> |
<a>&entity;</a> |
8514 |
|
@@@cfg:entity-replacement-tree: 1 |
8515 |
@@@test:domTree: |
@@@test:domTree: |
8516 |
document { |
document { |
8517 |
xml-version: '1.0'; |
xml-version: '1.0'; |
8541 |
local-name: 'a'; |
local-name: 'a'; |
8542 |
general-entity-reference { |
general-entity-reference { |
8543 |
node-name: 'entity'; |
node-name: 'entity'; |
8544 |
is-expanded: true; |
manakai-expanded: true; |
8545 |
text { |
text { |
8546 |
data: 'entity '; |
data: 'entity '; |
8547 |
} |
} |
8579 |
<!ENTITY entity2 "e&entity1;n"> |
<!ENTITY entity2 "e&entity1;n"> |
8580 |
]> |
]> |
8581 |
<a>&entity2;</a> |
<a>&entity2;</a> |
8582 |
|
@@@cfg:entity-replacement-tree: 1 |
8583 |
@@@test:domTree: |
@@@test:domTree: |
8584 |
document { |
document { |
8585 |
xml-version: '1.0'; |
xml-version: '1.0'; |
8597 |
general-entity-reference { |
general-entity-reference { |
8598 |
node-name: 'entity1'; |
node-name: 'entity1'; |
8599 |
text-content: 'entity value'; |
text-content: 'entity value'; |
8600 |
is-expanded: true; |
manakai-expanded: true; |
8601 |
} |
} |
8602 |
text { data: 'n'; } |
text { data: 'n'; } |
8603 |
} |
} |
8609 |
general-entity-reference { |
general-entity-reference { |
8610 |
node-name: 'entity2'; |
node-name: 'entity2'; |
8611 |
text { data: 'e'; } |
text { data: 'e'; } |
8612 |
is-expanded: true; |
manakai-expanded: true; |
8613 |
general-entity-reference { |
general-entity-reference { |
8614 |
node-name: 'entity1'; |
node-name: 'entity1'; |
8615 |
text { |
text { |
8616 |
data: 'entity value'; |
data: 'entity value'; |
8617 |
} |
} |
8618 |
is-expanded: true; |
manakai-expanded: true; |
8619 |
} |
} |
8620 |
text { data: 'n'; } |
text { data: 'n'; } |
8621 |
} |
} |
8631 |
<!ENTITY entity2 '!value#'> |
<!ENTITY entity2 '!value#'> |
8632 |
]> |
]> |
8633 |
<a></a> |
<a></a> |
8634 |
|
@@@cfg:entity-replacement-tree: 1 |
8635 |
@@@test:domTree: |
@@@test:domTree: |
8636 |
document { |
document { |
8637 |
document-type { |
document-type { |
8682 |
<!ENTITY ent "_<_>_"_'_&_"> |
<!ENTITY ent "_<_>_"_'_&_"> |
8683 |
]> |
]> |
8684 |
<a>&ent;</a> |
<a>&ent;</a> |
8685 |
|
@@@cfg:entity-replacement-tree: 1 |
8686 |
@@@test:domTree: |
@@@test:domTree: |
8687 |
document { |
document { |
8688 |
document-type { |
document-type { |
8708 |
<!ENTITY other "other"> |
<!ENTITY other "other"> |
8709 |
]> |
]> |
8710 |
<a>_<_>_"_'_&_&other;_</a> |
<a>_<_>_"_'_&_&other;_</a> |
8711 |
|
@@@cfg:entity-replacement-tree: 1 |
8712 |
@@@test:domTree: |
@@@test:domTree: |
8713 |
document { |
document { |
8714 |
document-type { |
document-type { |
9284 |
]> |
]> |
9285 |
<a at1 = "value&ent;value" |
<a at1 = "value&ent;value" |
9286 |
at2 = 'value&ent;value'></a> |
at2 = 'value&ent;value'></a> |
9287 |
|
@@@cfg:entity-replacement-tree: 1 |
9288 |
@@@test:domTree: |
@@@test:domTree: |
9289 |
document { |
document { |
9290 |
document-type { |
document-type { |
9314 |
]> |
]> |
9315 |
<a at1 = "value&ent2;value" |
<a at1 = "value&ent2;value" |
9316 |
at2 = 'value&ent2;value'></a> |
at2 = 'value&ent2;value'></a> |
9317 |
|
@@@cfg:entity-replacement-tree: 1 |
9318 |
@@@test:domTree: |
@@@test:domTree: |
9319 |
document { |
document { |
9320 |
document-type { |
document-type { |
9431 |
<!ENTITY ent "!"> |
<!ENTITY ent "!"> |
9432 |
]> |
]> |
9433 |
<e/> |
<e/> |
9434 |
|
@@@cfg:entity-replacement-tree: 1 |
9435 |
@@@test:domTree: |
@@@test:domTree: |
9436 |
document { |
document { |
9437 |
document-type { |
document-type { |
9450 |
<!ENTITY ent "aaaaa!bbbbb"> |
<!ENTITY ent "aaaaa!bbbbb"> |
9451 |
]> |
]> |
9452 |
<e/> |
<e/> |
9453 |
|
@@@cfg:entity-replacement-tree: 1 |
9454 |
@@@test:domTree: |
@@@test:domTree: |
9455 |
document { |
document { |
9456 |
document-type { |
document-type { |
9476 |
general-entity-reference { |
general-entity-reference { |
9477 |
node-name: 'ent'; |
node-name: 'ent'; |
9478 |
text-content: '!'; |
text-content: '!'; |
9479 |
is-expanded: true; |
manakai-expanded: true; |
9480 |
} |
} |
9481 |
} |
} |
9482 |
} |
} |
9495 |
general-entity-reference { |
general-entity-reference { |
9496 |
node-name: 'ent'; |
node-name: 'ent'; |
9497 |
text-content: 'aaaaa!bbbbb'; |
text-content: 'aaaaa!bbbbb'; |
9498 |
is-expanded: true; |
manakai-expanded: true; |
9499 |
} |
} |
9500 |
} |
} |
9501 |
} |
} |
9517 |
general-entity-reference { |
general-entity-reference { |
9518 |
node-name: 'ent'; |
node-name: 'ent'; |
9519 |
text-content: '!'; |
text-content: '!'; |
9520 |
is-expanded: true; |
manakai-expanded: true; |
9521 |
} |
} |
9522 |
is-expanded: true; |
manakai-expanded: true; |
9523 |
} |
} |
9524 |
} |
} |
9525 |
} |
} |
9541 |
general-entity-reference { |
general-entity-reference { |
9542 |
node-name: 'ent'; |
node-name: 'ent'; |
9543 |
text-content: 'aa!bb'; |
text-content: 'aa!bb'; |
9544 |
is-expanded: true; |
manakai-expanded: true; |
9545 |
text { |
text { |
9546 |
text-content: 'aa!bb'; |
text-content: 'aa!bb'; |
9547 |
} |
} |
9548 |
} |
} |
9549 |
is-expanded: true; |
manakai-expanded: true; |
9550 |
} |
} |
9551 |
} |
} |
9552 |
} |
} |
9567 |
general-entity-reference { |
general-entity-reference { |
9568 |
node-name: 'ent'; |
node-name: 'ent'; |
9569 |
text-content: '!'; |
text-content: '!'; |
9570 |
is-expanded: true; |
manakai-expanded: true; |
9571 |
} |
} |
9572 |
} |
} |
9573 |
} |
} |
9589 |
general-entity-reference { |
general-entity-reference { |
9590 |
node-name: 'ent'; |
node-name: 'ent'; |
9591 |
text-content: 'aaaaa!bbbbb'; |
text-content: 'aaaaa!bbbbb'; |
9592 |
is-expanded: true; |
manakai-expanded: true; |
9593 |
text { |
text { |
9594 |
text-content: 'aaaaa!bbbbb'; |
text-content: 'aaaaa!bbbbb'; |
9595 |
} |
} |
9614 |
node-name: 'a'; |
node-name: 'a'; |
9615 |
general-entity-reference { |
general-entity-reference { |
9616 |
node-name: 'ent2'; |
node-name: 'ent2'; |
9617 |
is-expanded: true; |
manakai-expanded: true; |
9618 |
general-entity-reference { |
general-entity-reference { |
9619 |
node-name: 'ent'; |
node-name: 'ent'; |
9620 |
text-content: '!'; |
text-content: '!'; |
9621 |
is-expanded: true; |
manakai-expanded: true; |
9622 |
} |
} |
9623 |
} |
} |
9624 |
} |
} |
9641 |
node-name: 'a'; |
node-name: 'a'; |
9642 |
general-entity-reference { |
general-entity-reference { |
9643 |
node-name: 'ent2'; |
node-name: 'ent2'; |
9644 |
is-expanded: true; |
manakai-expanded: true; |
9645 |
general-entity-reference { |
general-entity-reference { |
9646 |
node-name: 'ent'; |
node-name: 'ent'; |
9647 |
text-content: 'aa!bb'; |
text-content: 'aa!bb'; |
9648 |
is-expanded: true; |
manakai-expanded: true; |
9649 |
} |
} |
9650 |
} |
} |
9651 |
} |
} |
9744 |
<!ENTITY ent "!"> |
<!ENTITY ent "!"> |
9745 |
]> |
]> |
9746 |
<e/> |
<e/> |
9747 |
|
@@@cfg:entity-replacement-tree: 1 |
9748 |
@@@test:domTree: |
@@@test:domTree: |
9749 |
document { |
document { |
9750 |
document-type { |
document-type { |
9763 |
<!ENTITY ent "aaaaa!bbbbb"> |
<!ENTITY ent "aaaaa!bbbbb"> |
9764 |
]> |
]> |
9765 |
<e/> |
<e/> |
9766 |
|
@@@cfg:entity-replacement-tree: 1 |
9767 |
@@@test:domTree: |
@@@test:domTree: |
9768 |
document { |
document { |
9769 |
document-type { |
document-type { |
9792 |
general-entity-reference { |
general-entity-reference { |
9793 |
node-name: 'ent'; |
node-name: 'ent'; |
9794 |
text-content: '!'; |
text-content: '!'; |
9795 |
is-expanded: true; |
manakai-expanded: true; |
9796 |
} |
} |
9797 |
} |
} |
9798 |
} |
} |
9811 |
general-entity-reference { |
general-entity-reference { |
9812 |
node-name: 'ent'; |
node-name: 'ent'; |
9813 |
text-content: 'aaaaa!bbbbb'; |
text-content: 'aaaaa!bbbbb'; |
9814 |
is-expanded: true; |
manakai-expanded: true; |
9815 |
} |
} |
9816 |
} |
} |
9817 |
} |
} |
9830 |
element { |
element { |
9831 |
general-entity-reference { |
general-entity-reference { |
9832 |
node-name: 'ent2'; |
node-name: 'ent2'; |
9833 |
is-expanded: true; |
manakai-expanded: true; |
9834 |
general-entity-reference { |
general-entity-reference { |
9835 |
node-name: 'ent'; |
node-name: 'ent'; |
9836 |
text-content: '!'; |
text-content: '!'; |
9837 |
is-expanded: true; |
manakai-expanded: true; |
9838 |
} |
} |
9839 |
} |
} |
9840 |
} |
} |
9854 |
element { |
element { |
9855 |
general-entity-reference { |
general-entity-reference { |
9856 |
node-name: 'ent2'; |
node-name: 'ent2'; |
9857 |
is-expanded: true; |
manakai-expanded: true; |
9858 |
general-entity-reference { |
general-entity-reference { |
9859 |
node-name: 'ent'; |
node-name: 'ent'; |
9860 |
is-expanded: true; |
manakai-expanded: true; |
9861 |
text-content: 'aa!bb'; |
text-content: 'aa!bb'; |
9862 |
} |
} |
9863 |
} |
} |
9879 |
node-name: 'a'; |
node-name: 'a'; |
9880 |
general-entity-reference { |
general-entity-reference { |
9881 |
node-name: 'ent'; |
node-name: 'ent'; |
9882 |
is-expanded: true; |
manakai-expanded: true; |
9883 |
text-content: '!'; |
text-content: '!'; |
9884 |
} |
} |
9885 |
} |
} |
9901 |
node-name: 'a'; |
node-name: 'a'; |
9902 |
general-entity-reference { |
general-entity-reference { |
9903 |
node-name: 'ent'; |
node-name: 'ent'; |
9904 |
is-expanded: true; |
manakai-expanded: true; |
9905 |
text-content: 'aaaaa!bbbbb'; |
text-content: 'aaaaa!bbbbb'; |
9906 |
text { |
text { |
9907 |
text-content: 'aaaaa!bbbbb'; |
text-content: 'aaaaa!bbbbb'; |
9927 |
node-name: 'a'; |
node-name: 'a'; |
9928 |
general-entity-reference { |
general-entity-reference { |
9929 |
node-name: 'ent2'; |
node-name: 'ent2'; |
9930 |
is-expanded: true; |
manakai-expanded: true; |
9931 |
general-entity-reference { |
general-entity-reference { |
9932 |
node-name: 'ent'; |
node-name: 'ent'; |
9933 |
is-expanded: true; |
manakai-expanded: true; |
9934 |
text-content: '!'; |
text-content: '!'; |
9935 |
} |
} |
9936 |
} |
} |
9954 |
node-name: 'a'; |
node-name: 'a'; |
9955 |
general-entity-reference { |
general-entity-reference { |
9956 |
node-name: 'ent2'; |
node-name: 'ent2'; |
9957 |
is-expanded: true; |
manakai-expanded: true; |
9958 |
general-entity-reference { |
general-entity-reference { |
9959 |
node-name: 'ent'; |
node-name: 'ent'; |
9960 |
is-expanded: true; |
manakai-expanded: true; |
9961 |
text-content: 'aa!bb'; |
text-content: 'aa!bb'; |
9962 |
} |
} |
9963 |
} |
} |
10128 |
<!ENTITY entity "value"> |
<!ENTITY entity "value"> |
10129 |
]> |
]> |
10130 |
<p>&entity;</p> |
<p>&entity;</p> |
10131 |
|
@@@cfg:entity-replacement-tree: 1 |
10132 |
@@@test:domTree: |
@@@test:domTree: |
10133 |
document { |
document { |
10134 |
document-type { |
document-type { |
10140 |
element { |
element { |
10141 |
general-entity-reference { |
general-entity-reference { |
10142 |
node-name: 'entity'; |
node-name: 'entity'; |
10143 |
is-expanded: true; |
manakai-expanded: true; |
10144 |
text-content: 'value'; |
text-content: 'value'; |
10145 |
} |
} |
10146 |
} |
} |
10154 |
<!ENTITY another SYSTEM "another"> |
<!ENTITY another SYSTEM "another"> |
10155 |
]> |
]> |
10156 |
<p>&entity;</p> |
<p>&entity;</p> |
10157 |
|
@@@cfg:entity-replacement-tree: 1 |
10158 |
@@@test:domTree: |
@@@test:domTree: |
10159 |
document { |
document { |
10160 |
document-type { |
document-type { |
10171 |
element { |
element { |
10172 |
general-entity-reference { |
general-entity-reference { |
10173 |
node-name: 'entity'; |
node-name: 'entity'; |
10174 |
is-expanded: true; |
manakai-expanded: true; |
10175 |
text-content: 'value'; |
text-content: 'value'; |
10176 |
} |
} |
10177 |
} |
} |
10217 |
document-type { } |
document-type { } |
10218 |
element { |
element { |
10219 |
general-entity-reference { |
general-entity-reference { |
10220 |
is-expanded: false; |
manakai-expanded: false; |
10221 |
} |
} |
10222 |
} |
} |
10223 |
} |
} |
10235 |
document-type { } |
document-type { } |
10236 |
element { |
element { |
10237 |
general-entity-reference { |
general-entity-reference { |
10238 |
is-expanded: false; |
manakai-expanded: false; |
10239 |
} |
} |
10240 |
} |
} |
10241 |
} |
} |
10265 |
document-type { } |
document-type { } |
10266 |
element { |
element { |
10267 |
general-entity-reference { |
general-entity-reference { |
10268 |
is-expanded: false; |
manakai-expanded: false; |
10269 |
} |
} |
10270 |
} |
} |
10271 |
} |
} |
10283 |
document-type { } |
document-type { } |
10284 |
element { |
element { |
10285 |
general-entity-reference { |
general-entity-reference { |
10286 |
is-expanded: false; |
manakai-expanded: false; |
10287 |
} |
} |
10288 |
} |
} |
10289 |
} |
} |
10307 |
document-type { } |
document-type { } |
10308 |
element { |
element { |
10309 |
general-entity-reference { |
general-entity-reference { |
10310 |
is-expanded: false; |
manakai-expanded: false; |
10311 |
} |
} |
10312 |
} |
} |
10313 |
} |
} |
10322 |
document-type { } |
document-type { } |
10323 |
element { |
element { |
10324 |
general-entity-reference { |
general-entity-reference { |
10325 |
is-expanded: false; |
manakai-expanded: false; |
10326 |
} |
} |
10327 |
} |
} |
10328 |
} |
} |
10400 |
<!ENTITY c "&entity;"> |
<!ENTITY c "&entity;"> |
10401 |
]> |
]> |
10402 |
<p>&c;</p> |
<p>&c;</p> |
10403 |
|
@@@cfg:entity-replacement-tree: 1 |
10404 |
@@@test:domTree: |
@@@test:domTree: |
10405 |
document { |
document { |
10406 |
document-type { |
document-type { |
10436 |
<!ENTITY c "&entity;"> |
<!ENTITY c "&entity;"> |
10437 |
]> |
]> |
10438 |
<p>&c;</p> |
<p>&c;</p> |
10439 |
|
@@@cfg:entity-replacement-tree: 1 |
10440 |
@@@test:domTree: |
@@@test:domTree: |
10441 |
document { |
document { |
10442 |
document-type { |
document-type { |
10448 |
node-name: 'c'; |
node-name: 'c'; |
10449 |
general-entity-reference { |
general-entity-reference { |
10450 |
node-name: 'entity'; |
node-name: 'entity'; |
10451 |
is-expanded: true; |
manakai-expanded: true; |
10452 |
text-content: 'value'; |
text-content: 'value'; |
10453 |
} |
} |
10454 |
} |
} |
10462 |
element { |
element { |
10463 |
general-entity-reference { |
general-entity-reference { |
10464 |
node-name: 'c'; |
node-name: 'c'; |
10465 |
is-expanded: true; |
manakai-expanded: true; |
10466 |
general-entity-reference { |
general-entity-reference { |
10467 |
node-name: 'entity'; |
node-name: 'entity'; |
10468 |
is-expanded: true; |
manakai-expanded: true; |
10469 |
text-content: 'value'; |
text-content: 'value'; |
10470 |
} |
} |
10471 |
} |
} |
10504 |
%para; |
%para; |
10505 |
]> |
]> |
10506 |
<p>&c;</p> |
<p>&c;</p> |
10507 |
|
@@@cfg:entity-replacement-tree: 1 |
10508 |
@@@test:domTree: |
@@@test:domTree: |
10509 |
document { |
document { |
10510 |
document-type { |
document-type { |
10512 |
node-name: 'c'; |
node-name: 'c'; |
10513 |
general-entity-reference { |
general-entity-reference { |
10514 |
node-name: 'entity'; |
node-name: 'entity'; |
10515 |
is-expanded: false; |
manakai-expanded: false; |
10516 |
} |
} |
10517 |
} |
} |
10518 |
} |
} |
10521 |
node-name: 'c'; |
node-name: 'c'; |
10522 |
general-entity-reference { |
general-entity-reference { |
10523 |
node-name: 'entity'; |
node-name: 'entity'; |
10524 |
is-expanded: false; |
manakai-expanded: false; |
10525 |
} |
} |
10526 |
} |
} |
10527 |
} |
} |
10544 |
element { |
element { |
10545 |
general-entity-reference { |
general-entity-reference { |
10546 |
node-name: 'c'; |
node-name: 'c'; |
10547 |
is-expanded: false; |
manakai-expanded: false; |
10548 |
} |
} |
10549 |
} |
} |
10550 |
} |
} |
10564 |
element { |
element { |
10565 |
general-entity-reference { |
general-entity-reference { |
10566 |
node-name: 'c'; |
node-name: 'c'; |
10567 |
is-expanded: true; |
manakai-expanded: true; |
10568 |
general-entity-reference { |
general-entity-reference { |
10569 |
node-name: 'entity'; |
node-name: 'entity'; |
10570 |
is-expanded: false; |
manakai-expanded: false; |
10571 |
} |
} |
10572 |
} |
} |
10573 |
} |
} |
10589 |
element { |
element { |
10590 |
general-entity-reference { |
general-entity-reference { |
10591 |
node-name: 'c'; |
node-name: 'c'; |
10592 |
is-expanded: false; |
manakai-expanded: false; |
10593 |
} |
} |
10594 |
} |
} |
10595 |
} |
} |
10622 |
element { |
element { |
10623 |
general-entity-reference { |
general-entity-reference { |
10624 |
node-name: 'c'; |
node-name: 'c'; |
10625 |
is-expanded: true; |
manakai-expanded: true; |
10626 |
general-entity-reference { |
general-entity-reference { |
10627 |
node-name: 'entity'; |
node-name: 'entity'; |
10628 |
is-expanded: false; |
manakai-expanded: false; |
10629 |
} |
} |
10630 |
} |
} |
10631 |
} |
} |
10648 |
element { |
element { |
10649 |
general-entity-reference { |
general-entity-reference { |
10650 |
node-name: 'c'; |
node-name: 'c'; |
10651 |
is-expanded: false; |
manakai-expanded: false; |
10652 |
} |
} |
10653 |
} |
} |
10654 |
} |
} |
10668 |
element { |
element { |
10669 |
general-entity-reference { |
general-entity-reference { |
10670 |
node-name: 'c'; |
node-name: 'c'; |
10671 |
is-expanded: true; |
manakai-expanded: true; |
10672 |
general-entity-reference { |
general-entity-reference { |
10673 |
node-name: 'entity'; |
node-name: 'entity'; |
10674 |
is-expanded: false; |
manakai-expanded: false; |
10675 |
} |
} |
10676 |
} |
} |
10677 |
} |
} |
10693 |
element { |
element { |
10694 |
general-entity-reference { |
general-entity-reference { |
10695 |
node-name: 'c'; |
node-name: 'c'; |
10696 |
is-expanded: false; |
manakai-expanded: false; |
10697 |
} |
} |
10698 |
} |
} |
10699 |
} |
} |
10722 |
element { |
element { |
10723 |
general-entity-reference { |
general-entity-reference { |
10724 |
node-name: 'c'; |
node-name: 'c'; |
10725 |
is-expanded: true; |
manakai-expanded: true; |
10726 |
general-entity-reference { |
general-entity-reference { |
10727 |
node-name: 'entity'; |
node-name: 'entity'; |
10728 |
is-expanded: false; |
manakai-expanded: false; |
10729 |
} |
} |
10730 |
} |
} |
10731 |
} |
} |
10742 |
element { |
element { |
10743 |
general-entity-reference { |
general-entity-reference { |
10744 |
node-name: 'c'; |
node-name: 'c'; |
10745 |
is-expanded: true; |
manakai-expanded: true; |
10746 |
general-entity-reference { |
general-entity-reference { |
10747 |
node-name: 'entity'; |
node-name: 'entity'; |
10748 |
is-expanded: false; |
manakai-expanded: false; |
10749 |
} |
} |
10750 |
} |
} |
10751 |
} |
} |
10848 |
<!ENTITY entity "value"> |
<!ENTITY entity "value"> |
10849 |
]> |
]> |
10850 |
<p a="&entity;"/> |
<p a="&entity;"/> |
10851 |
|
@@@cfg:entity-replacement-tree: 1 |
10852 |
@@@test:domTree: |
@@@test:domTree: |
10853 |
document { |
document { |
10854 |
document-type { |
document-type { |
10862 |
node-name: 'a'; |
node-name: 'a'; |
10863 |
general-entity-reference { |
general-entity-reference { |
10864 |
node-name: 'entity'; |
node-name: 'entity'; |
10865 |
is-expanded: true; |
manakai-expanded: true; |
10866 |
text-content: 'value'; |
text-content: 'value'; |
10867 |
} |
} |
10868 |
} |
} |
10877 |
<!ENTITY another SYSTEM "another"> |
<!ENTITY another SYSTEM "another"> |
10878 |
]> |
]> |
10879 |
<p a="&entity;"/> |
<p a="&entity;"/> |
10880 |
|
@@@cfg:entity-replacement-tree: 1 |
10881 |
@@@test:domTree: |
@@@test:domTree: |
10882 |
document { |
document { |
10883 |
document-type { |
document-type { |
10898 |
node-name: 'a'; |
node-name: 'a'; |
10899 |
general-entity-reference { |
general-entity-reference { |
10900 |
node-name: 'entity'; |
node-name: 'entity'; |
10901 |
is-expanded: true; |
manakai-expanded: true; |
10902 |
text-content: 'value'; |
text-content: 'value'; |
10903 |
} |
} |
10904 |
} |
} |
10947 |
attribute { |
attribute { |
10948 |
node-name: 'a'; |
node-name: 'a'; |
10949 |
general-entity-reference { |
general-entity-reference { |
10950 |
is-expanded: false; |
manakai-expanded: false; |
10951 |
} |
} |
10952 |
} |
} |
10953 |
} |
} |
10968 |
attribute { |
attribute { |
10969 |
node-name: 'a'; |
node-name: 'a'; |
10970 |
general-entity-reference { |
general-entity-reference { |
10971 |
is-expanded: false; |
manakai-expanded: false; |
10972 |
} |
} |
10973 |
} |
} |
10974 |
} |
} |
11001 |
attribute { |
attribute { |
11002 |
node-name: 'a'; |
node-name: 'a'; |
11003 |
general-entity-reference { |
general-entity-reference { |
11004 |
is-expanded: false; |
manakai-expanded: false; |
11005 |
} |
} |
11006 |
} |
} |
11007 |
} |
} |
11022 |
attribute { |
attribute { |
11023 |
node-name: 'a'; |
node-name: 'a'; |
11024 |
general-entity-reference { |
general-entity-reference { |
11025 |
is-expanded: false; |
manakai-expanded: false; |
11026 |
} |
} |
11027 |
} |
} |
11028 |
} |
} |
11049 |
attribute { |
attribute { |
11050 |
node-name: 'a'; |
node-name: 'a'; |
11051 |
general-entity-reference { |
general-entity-reference { |
11052 |
is-expanded: false; |
manakai-expanded: false; |
11053 |
} |
} |
11054 |
} |
} |
11055 |
} |
} |
11067 |
attribute { |
attribute { |
11068 |
node-name: 'a'; |
node-name: 'a'; |
11069 |
general-entity-reference { |
general-entity-reference { |
11070 |
is-expanded: false; |
manakai-expanded: false; |
11071 |
} |
} |
11072 |
} |
} |
11073 |
} |
} |
11146 |
<!ENTITY c "&entity;"> |
<!ENTITY c "&entity;"> |
11147 |
]> |
]> |
11148 |
<p a="&c;"/> |
<p a="&c;"/> |
11149 |
|
@@@cfg:entity-replacement-tree: 1 |
11150 |
@@@test:domTree: |
@@@test:domTree: |
11151 |
document { |
document { |
11152 |
document-type { |
document-type { |
11185 |
<!ENTITY c "&entity;"> |
<!ENTITY c "&entity;"> |
11186 |
]> |
]> |
11187 |
<p a="&c;"/> |
<p a="&c;"/> |
11188 |
|
@@@cfg:entity-replacement-tree: 1 |
11189 |
@@@test:domTree: |
@@@test:domTree: |
11190 |
document { |
document { |
11191 |
document-type { |
document-type { |
11253 |
%para; |
%para; |
11254 |
]> |
]> |
11255 |
<p a="&c;"/> |
<p a="&c;"/> |
11256 |
|
@@@cfg:entity-replacement-tree: 1 |
11257 |
@@@test:domTree: |
@@@test:domTree: |
11258 |
document { |
document { |
11259 |
document-type { |
document-type { |
11261 |
node-name: 'c'; |
node-name: 'c'; |
11262 |
general-entity-reference { |
general-entity-reference { |
11263 |
node-name: 'entity'; |
node-name: 'entity'; |
11264 |
is-expanded: false; |
manakai-expanded: false; |
11265 |
} |
} |
11266 |
} |
} |
11267 |
} |
} |
11272 |
node-name: 'c'; |
node-name: 'c'; |
11273 |
general-entity-reference { |
general-entity-reference { |
11274 |
node-name: 'entity'; |
node-name: 'entity'; |
11275 |
is-expanded: false; |
manakai-expanded: false; |
11276 |
} |
} |
11277 |
} |
} |
11278 |
} |
} |
11298 |
node-name: 'a'; |
node-name: 'a'; |
11299 |
general-entity-reference { |
general-entity-reference { |
11300 |
node-name: 'c'; |
node-name: 'c'; |
11301 |
is-expanded: false; |
manakai-expanded: false; |
11302 |
} |
} |
11303 |
} |
} |
11304 |
} |
} |
11321 |
node-name: 'a'; |
node-name: 'a'; |
11322 |
general-entity-reference { |
general-entity-reference { |
11323 |
node-name: 'c'; |
node-name: 'c'; |
11324 |
is-expanded: true; |
manakai-expanded: true; |
11325 |
general-entity-reference { |
general-entity-reference { |
11326 |
node-name: 'entity'; |
node-name: 'entity'; |
11327 |
is-expanded: false; |
manakai-expanded: false; |
11328 |
} |
} |
11329 |
} |
} |
11330 |
} |
} |
11349 |
node-name: 'a'; |
node-name: 'a'; |
11350 |
general-entity-reference { |
general-entity-reference { |
11351 |
node-name: 'c'; |
node-name: 'c'; |
11352 |
is-expanded: false; |
manakai-expanded: false; |
11353 |
} |
} |
11354 |
} |
} |
11355 |
} |
} |
11385 |
node-name: 'a'; |
node-name: 'a'; |
11386 |
general-entity-reference { |
general-entity-reference { |
11387 |
node-name: 'c'; |
node-name: 'c'; |
11388 |
is-expanded: true; |
manakai-expanded: true; |
11389 |
general-entity-reference { |
general-entity-reference { |
11390 |
node-name: 'entity'; |
node-name: 'entity'; |
11391 |
is-expanded: false; |
manakai-expanded: false; |
11392 |
} |
} |
11393 |
} |
} |
11394 |
} |
} |
11414 |
node-name: 'a'; |
node-name: 'a'; |
11415 |
general-entity-reference { |
general-entity-reference { |
11416 |
node-name: 'c'; |
node-name: 'c'; |
11417 |
is-expanded: false; |
manakai-expanded: false; |
11418 |
} |
} |
11419 |
} |
} |
11420 |
} |
} |
11437 |
node-name: 'a'; |
node-name: 'a'; |
11438 |
general-entity-reference { |
general-entity-reference { |
11439 |
node-name: 'c'; |
node-name: 'c'; |
11440 |
is-expanded: true; |
manakai-expanded: true; |
11441 |
general-entity-reference { |
general-entity-reference { |
11442 |
node-name: 'entity'; |
node-name: 'entity'; |
11443 |
is-expanded: false; |
manakai-expanded: false; |
11444 |
} |
} |
11445 |
} |
} |
11446 |
} |
} |
11465 |
node-name: 'a'; |
node-name: 'a'; |
11466 |
general-entity-reference { |
general-entity-reference { |
11467 |
node-name: 'c'; |
node-name: 'c'; |
11468 |
is-expanded: false; |
manakai-expanded: false; |
11469 |
} |
} |
11470 |
} |
} |
11471 |
} |
} |
11497 |
node-name: 'a'; |
node-name: 'a'; |
11498 |
general-entity-reference { |
general-entity-reference { |
11499 |
node-name: 'c'; |
node-name: 'c'; |
11500 |
is-expanded: true; |
manakai-expanded: true; |
11501 |
general-entity-reference { |
general-entity-reference { |
11502 |
node-name: 'entity'; |
node-name: 'entity'; |
11503 |
is-expanded: false; |
manakai-expanded: false; |
11504 |
} |
} |
11505 |
} |
} |
11506 |
} |
} |
11520 |
node-name: 'a'; |
node-name: 'a'; |
11521 |
general-entity-reference { |
general-entity-reference { |
11522 |
node-name: 'c'; |
node-name: 'c'; |
11523 |
is-expanded: true; |
manakai-expanded: true; |
11524 |
general-entity-reference { |
general-entity-reference { |
11525 |
node-name: 'entity'; |
node-name: 'entity'; |
11526 |
is-expanded: false; |
manakai-expanded: false; |
11527 |
} |
} |
11528 |
} |
} |
11529 |
} |
} |
11649 |
<!ATTLIST p a CDATA "&c;"> |
<!ATTLIST p a CDATA "&c;"> |
11650 |
]> |
]> |
11651 |
<p/> |
<p/> |
11652 |
|
@@@cfg:entity-replacement-tree: 1 |
11653 |
@@@test:domTree: |
@@@test:domTree: |
11654 |
document { |
document { |
11655 |
document-type { |
document-type { |
11661 |
node-name: 'c'; |
node-name: 'c'; |
11662 |
general-entity-reference { |
general-entity-reference { |
11663 |
node-name: 'entity'; |
node-name: 'entity'; |
11664 |
is-expanded: true; |
manakai-expanded: true; |
11665 |
text-content: 'value'; |
text-content: 'value'; |
11666 |
} |
} |
11667 |
} |
} |
11671 |
node-name: 'a'; |
node-name: 'a'; |
11672 |
general-entity-reference { |
general-entity-reference { |
11673 |
node-name: 'c'; |
node-name: 'c'; |
11674 |
is-expanded: true; |
manakai-expanded: true; |
11675 |
general-entity-reference { |
general-entity-reference { |
11676 |
node-name: 'entity'; |
node-name: 'entity'; |
11677 |
is-expanded: true; |
manakai-expanded: true; |
11678 |
text-content: 'value'; |
text-content: 'value'; |
11679 |
} |
} |
11680 |
} |
} |
11706 |
<!ATTLIST p a CDATA "&c;"> |
<!ATTLIST p a CDATA "&c;"> |
11707 |
]> |
]> |
11708 |
<p/> |
<p/> |
11709 |
|
@@@cfg:entity-replacement-tree: 1 |
11710 |
@@@test:domTree: |
@@@test:domTree: |
11711 |
document { |
document { |
11712 |
document-type { |
document-type { |
11733 |
node-name: 'a'; |
node-name: 'a'; |
11734 |
general-entity-reference { |
general-entity-reference { |
11735 |
node-name: 'c'; |
node-name: 'c'; |
11736 |
is-expanded: true; |
manakai-expanded: true; |
11737 |
general-entity-reference { |
general-entity-reference { |
11738 |
node-name: 'entity'; |
node-name: 'entity'; |
11739 |
is-expanded: true; |
manakai-expanded: true; |
11740 |
text-content: 'value'; |
text-content: 'value'; |
11741 |
} |
} |
11742 |
} |
} |
11964 |
specified: false; |
specified: false; |
11965 |
general-entity-reference { |
general-entity-reference { |
11966 |
node-name: 'c'; |
node-name: 'c'; |
11967 |
is-expanded: true; |
manakai-expanded: true; |
11968 |
general-entity-reference { |
general-entity-reference { |
11969 |
node-name: 'entity'; |
node-name: 'entity'; |
11970 |
is-expanded: false; |
manakai-expanded: false; |
11971 |
} |
} |
11972 |
} |
} |
11973 |
} |
} |
11990 |
specified: false; |
specified: false; |
11991 |
general-entity-reference { |
general-entity-reference { |
11992 |
node-name: 'c'; |
node-name: 'c'; |
11993 |
is-expanded: true; |
manakai-expanded: true; |
11994 |
general-entity-reference { |
general-entity-reference { |
11995 |
node-name: 'entity'; |
node-name: 'entity'; |
11996 |
is-expanded: false; |
manakai-expanded: false; |
11997 |
} |
} |
11998 |
} |
} |
11999 |
} |
} |
12073 |
<!ATTLIST p a CDATA "&entity;"> |
<!ATTLIST p a CDATA "&entity;"> |
12074 |
]> |
]> |
12075 |
<p/> |
<p/> |
12076 |
|
@@@cfg:entity-replacement-tree: 1 |
12077 |
@@@test:domTree: |
@@@test:domTree: |
12078 |
document { |
document { |
12079 |
document-type { |
document-type { |
12087 |
node-name: 'a'; |
node-name: 'a'; |
12088 |
general-entity-reference { |
general-entity-reference { |
12089 |
node-name: 'entity'; |
node-name: 'entity'; |
12090 |
is-expanded: true; |
manakai-expanded: true; |
12091 |
text-content: 'value'; |
text-content: 'value'; |
12092 |
} |
} |
12093 |
} |
} |
12099 |
specified: false; |
specified: false; |
12100 |
general-entity-reference { |
general-entity-reference { |
12101 |
node-name: 'entity'; |
node-name: 'entity'; |
12102 |
is-expanded: true; |
manakai-expanded: true; |
12103 |
text-content: 'value'; |
text-content: 'value'; |
12104 |
} |
} |
12105 |
} |
} |
12125 |
<!ATTLIST p a CDATA "&entity;"> |
<!ATTLIST p a CDATA "&entity;"> |
12126 |
]> |
]> |
12127 |
<p/> |
<p/> |
12128 |
|
@@@cfg:entity-replacement-tree: 1 |
12129 |
@@@test:domTree: |
@@@test:domTree: |
12130 |
document { |
document { |
12131 |
document-type { |
document-type { |
12135 |
node-name: 'a'; |
node-name: 'a'; |
12136 |
general-entity-reference { |
general-entity-reference { |
12137 |
node-name: 'entity'; |
node-name: 'entity'; |
12138 |
is-expanded: true; |
manakai-expanded: true; |
12139 |
text-content: 'value'; |
text-content: 'value'; |
12140 |
} |
} |
12141 |
} |
} |
12158 |
specified: false; |
specified: false; |
12159 |
general-entity-reference { |
general-entity-reference { |
12160 |
node-name: 'entity'; |
node-name: 'entity'; |
12161 |
is-expanded: true; |
manakai-expanded: true; |
12162 |
text-content: 'value'; |
text-content: 'value'; |
12163 |
} |
} |
12164 |
} |
} |
12456 |
node-name: 'a'; |
node-name: 'a'; |
12457 |
general-entity-reference { |
general-entity-reference { |
12458 |
node-name: 'entity'; |
node-name: 'entity'; |
12459 |
is-expanded: false; |
manakai-expanded: false; |
12460 |
} |
} |
12461 |
} |
} |
12462 |
} |
} |
12467 |
specified: false; |
specified: false; |
12468 |
general-entity-reference { |
general-entity-reference { |
12469 |
node-name: 'entity'; |
node-name: 'entity'; |
12470 |
is-expanded: false; |
manakai-expanded: false; |
12471 |
} |
} |
12472 |
} |
} |
12473 |
} |
} |
12491 |
node-name: 'a'; |
node-name: 'a'; |
12492 |
general-entity-reference { |
general-entity-reference { |
12493 |
node-name: 'entity'; |
node-name: 'entity'; |
12494 |
is-expanded: false; |
manakai-expanded: false; |
12495 |
} |
} |
12496 |
} |
} |
12497 |
} |
} |
12502 |
specified: false; |
specified: false; |
12503 |
general-entity-reference { |
general-entity-reference { |
12504 |
node-name: 'entity'; |
node-name: 'entity'; |
12505 |
is-expanded: false; |
manakai-expanded: false; |
12506 |
} |
} |
12507 |
} |
} |
12508 |
} |
} |
12559 |
<!ENTITY c "&ext;"> |
<!ENTITY c "&ext;"> |
12560 |
]> |
]> |
12561 |
<p a="&c;"/> |
<p a="&c;"/> |
12562 |
|
@@@cfg:entity-replacement-tree: 0 |
12563 |
|
@@@c:erred: <[[xp|wf-no-external-entity-references]]> { (1, 1)..(1, 5); } |
12564 |
|
@@XMLTest: |
12565 |
|
@@@QName: xp.attval.reptxt.parsed.entity.reference.2.test |
12566 |
|
@@@DEnt: |
12567 |
|
@@@@test:value: |
12568 |
|
<!DOCTYPE p [ |
12569 |
|
<!NOTATION n SYSTEM "notation"> |
12570 |
|
<!ENTITY ext SYSTEM "system" NDATA n> |
12571 |
|
<!ENTITY c "&ext;"> |
12572 |
|
]> |
12573 |
|
<p a="&c;"/> |
12574 |
|
@@@cfg:entity-replacement-tree: 1 |
12575 |
@@@c:erred: <[[xp|wf-no-external-entity-references]]> { (1, 1)..(1, 5); } |
@@@c:erred: <[[xp|wf-no-external-entity-references]]> { (1, 1)..(1, 5); } |
12576 |
@@@c:erred: |
@@@c:erred: |
12577 |
@@@@@: <[[xp|wf-parsed-entity]]> { } |
@@@@@: <[[xp|wf-parsed-entity]]> { } |
12597 |
<!ENTITY c "&ext;"> |
<!ENTITY c "&ext;"> |
12598 |
]> |
]> |
12599 |
<p a="&c;"/> |
<p a="&c;"/> |
12600 |
|
@@@cfg:entity-replacement-tree: 0 |
12601 |
|
@@@c:erred: <[[xp|wf-no-external-entity-references]]> { } |
12602 |
|
@@XMLTest: |
12603 |
|
@@@QName: xp.attval.entval.parsed.entity.reference.2.test |
12604 |
|
@@@DEnt: |
12605 |
|
@@@@test:value: |
12606 |
|
<!DOCTYPE p [ |
12607 |
|
<!NOTATION n SYSTEM "notation"> |
12608 |
|
<!ENTITY ext SYSTEM "system" NDATA n> |
12609 |
|
<!ENTITY c "&ext;"> |
12610 |
|
]> |
12611 |
|
<p a="&c;"/> |
12612 |
|
@@@cfg:entity-replacement-tree: 1 |
12613 |
@@@c:erred: <[[xp|wf-no-external-entity-references]]> { } |
@@@c:erred: <[[xp|wf-no-external-entity-references]]> { } |
12614 |
@@@c:erred: <[[xp|wf-parsed-entity]]> { } |
@@@c:erred: <[[xp|wf-parsed-entity]]> { } |
12615 |
|
|
12823 |
<!ENTITY e "a"> |
<!ENTITY e "a"> |
12824 |
<!ENTITY e "b"> |
<!ENTITY e "b"> |
12825 |
]><a/> |
]><a/> |
12826 |
|
@@@cfg:entity-replacement-tree: 1 |
12827 |
@@@test:domTree: |
@@@test:domTree: |
12828 |
document { |
document { |
12829 |
document-type { |
document-type { |
12861 |
<!ENTITY quot """> |
<!ENTITY quot """> |
12862 |
<!ENTITY e "f"> |
<!ENTITY e "f"> |
12863 |
]><a><>&'"</a> |
]><a><>&'"</a> |
12864 |
|
@@@cfg:entity-replacement-tree: 1 |
12865 |
@@@test:domTree: |
@@@test:domTree: |
12866 |
document { |
document { |
12867 |
document-type { |
document-type { |
12886 |
<!ENTITY quot "&#34;"> |
<!ENTITY quot "&#34;"> |
12887 |
<!ENTITY e "f"> |
<!ENTITY e "f"> |
12888 |
]><a><>&'"</a> |
]><a><>&'"</a> |
12889 |
|
@@@cfg:entity-replacement-tree: 1 |
12890 |
@@@test:domTree: |
@@@test:domTree: |
12891 |
document { |
document { |
12892 |
document-type { |
document-type { |
12911 |
<!ENTITY quot """> |
<!ENTITY quot """> |
12912 |
<!ENTITY e "f"> |
<!ENTITY e "f"> |
12913 |
]><a><>&'"</a> |
]><a><>&'"</a> |
12914 |
|
@@@cfg:entity-replacement-tree: 1 |
12915 |
@@@c:erred: <[[xp|error-malformed-predefined-entity]]> { (2, 1)..(2, 24); } |
@@@c:erred: <[[xp|error-malformed-predefined-entity]]> { (2, 1)..(2, 24); } |
12916 |
@@@c:erred: <[[xp|error-malformed-predefined-entity]]> { (4, 1)..(4, 24); } |
@@@c:erred: <[[xp|error-malformed-predefined-entity]]> { (4, 1)..(4, 24); } |
12917 |
@@@test:domTree: |
@@@test:domTree: |
12938 |
<!ENTITY quot "5"> |
<!ENTITY quot "5"> |
12939 |
<!ENTITY e "f"> |
<!ENTITY e "f"> |
12940 |
]><a><>&'"</a> |
]><a><>&'"</a> |
12941 |
|
@@@cfg:entity-replacement-tree: 1 |
12942 |
@@@c:erred: <[[xp|error-malformed-predefined-entity]]> { (2, 1)..(2, 24); } |
@@@c:erred: <[[xp|error-malformed-predefined-entity]]> { (2, 1)..(2, 24); } |
12943 |
@@@c:erred: <[[xp|error-malformed-predefined-entity]]> { (3, 1)..(3, 24); } |
@@@c:erred: <[[xp|error-malformed-predefined-entity]]> { (3, 1)..(3, 24); } |
12944 |
@@@c:erred: <[[xp|error-malformed-predefined-entity]]> { (4, 1)..(4, 24); } |
@@@c:erred: <[[xp|error-malformed-predefined-entity]]> { (4, 1)..(4, 24); } |
12968 |
<!ENTITY quot SYSTEM "5"> |
<!ENTITY quot SYSTEM "5"> |
12969 |
<!ENTITY e "f"> |
<!ENTITY e "f"> |
12970 |
]><a><>&'"</a> |
]><a><>&'"</a> |
12971 |
|
@@@cfg:entity-replacement-tree: 1 |
12972 |
@@@c:erred: <[[xp|error-internal-predefined-entity]]> { (2, 1)..(2, 27); } |
@@@c:erred: <[[xp|error-internal-predefined-entity]]> { (2, 1)..(2, 27); } |
12973 |
@@@c:erred: <[[xp|error-internal-predefined-entity]]> { (3, 1)..(3, 27); } |
@@@c:erred: <[[xp|error-internal-predefined-entity]]> { (3, 1)..(3, 27); } |
12974 |
@@@c:erred: <[[xp|error-internal-predefined-entity]]> { (4, 1)..(4, 27); } |
@@@c:erred: <[[xp|error-internal-predefined-entity]]> { (4, 1)..(4, 27); } |
12998 |
<!ENTITY % quot SYSTEM "5"> |
<!ENTITY % quot SYSTEM "5"> |
12999 |
<!ENTITY e "f"> |
<!ENTITY e "f"> |
13000 |
]><a><>&'"</a> |
]><a><>&'"</a> |
13001 |
|
@@@cfg:entity-replacement-tree: 1 |
13002 |
@@@test:domTree: |
@@@test:domTree: |
13003 |
document { |
document { |
13004 |
document-type { |
document-type { |
13023 |
<!ENTITY quot """> |
<!ENTITY quot """> |
13024 |
<!ENTITY e "f"> |
<!ENTITY e "f"> |
13025 |
]><a><>&'"</a> |
]><a><>&'"</a> |
13026 |
|
@@@cfg:entity-replacement-tree: 1 |
13027 |
@@@test:domTree: |
@@@test:domTree: |
13028 |
document { |
document { |
13029 |
document-type { |
document-type { |
13048 |
<!ENTITY quot """> |
<!ENTITY quot """> |
13049 |
<!ENTITY e "f"> |
<!ENTITY e "f"> |
13050 |
]><a><>&'"</a> |
]><a><>&'"</a> |
13051 |
|
@@@cfg:entity-replacement-tree: 1 |
13052 |
@@@test:domTree: |
@@@test:domTree: |
13053 |
document { |
document { |
13054 |
document-type { |
document-type { |
13073 |
<!ENTITY quot """> |
<!ENTITY quot """> |
13074 |
<!ENTITY e "f"> |
<!ENTITY e "f"> |
13075 |
]><a><>&'"</a> |
]><a><>&'"</a> |
13076 |
|
@@@cfg:entity-replacement-tree: 1 |
13077 |
@@@test:domTree: |
@@@test:domTree: |
13078 |
document { |
document { |
13079 |
document-type { |
document-type { |
13098 |
<!ENTITY quot """> |
<!ENTITY quot """> |
13099 |
<!ENTITY e "f"> |
<!ENTITY e "f"> |
13100 |
]><a><>&'"</a> |
]><a><>&'"</a> |
13101 |
|
@@@cfg:entity-replacement-tree: 1 |
13102 |
@@@test:domTree: |
@@@test:domTree: |
13103 |
document { |
document { |
13104 |
document-type { |
document-type { |
13173 |
} |
} |
13174 |
general-entity-reference { |
general-entity-reference { |
13175 |
node-name: 'e'; |
node-name: 'e'; |
13176 |
is-expanded: false; |
manakai-expanded: false; |
13177 |
} |
} |
13178 |
} |
} |
13179 |
} |
} |
15007 |
@@@DEnt: |
@@@DEnt: |
15008 |
@@@@test:value: |
@@@@test:value: |
15009 |
<p xml:id="idv"/> |
<p xml:id="idv"/> |
15010 |
|
@@@cfg:xml-id: 1 |
15011 |
@@@test:domTree: |
@@@test:domTree: |
15012 |
document { |
document { |
15013 |
element { |
element { |
15021 |
} |
} |
15022 |
} |
} |
15023 |
@@XMLTest: |
@@XMLTest: |
15024 |
|
@@@QName: xp.xmlid.attr.disabled.test |
15025 |
|
@@@DEnt: |
15026 |
|
@@@@test:value: |
15027 |
|
<p xml:id="idv"/> |
15028 |
|
@@@cfg:xml-id: 0 |
15029 |
|
@@@test:domTree: |
15030 |
|
document { |
15031 |
|
element { |
15032 |
|
attribute { |
15033 |
|
node-name: 'xml:id'; |
15034 |
|
value: 'idv'; |
15035 |
|
schema-type-info: TypeInfo (null, null); |
15036 |
|
specified: true; |
15037 |
|
} |
15038 |
|
} |
15039 |
|
} |
15040 |
|
@@XMLTest: |
15041 |
@@@QName: xp.xmlid.attr.norm.test |
@@@QName: xp.xmlid.attr.norm.test |
15042 |
@@@DEnt: |
@@@DEnt: |
15043 |
@@@@test:value: |
@@@@test:value: |
15044 |
<p xml:id=" $u000Aidv "/> |
<p xml:id=" $u000Aidv "/> |
15045 |
|
@@@cfg:xml-id: 1 |
15046 |
@@@test:domTree: |
@@@test:domTree: |
15047 |
document { |
document { |
15048 |
element { |
element { |
15056 |
} |
} |
15057 |
} |
} |
15058 |
@@XMLTest: |
@@XMLTest: |
15059 |
|
@@@QName: xp.xmlid.attr.norm.disabled.test |
15060 |
|
@@@DEnt: |
15061 |
|
@@@@test:value: |
15062 |
|
<p xml:id=" $u000Aidv "/> |
15063 |
|
@@@cfg:xml-id: 0 |
15064 |
|
@@@test:domTree: |
15065 |
|
document { |
15066 |
|
element { |
15067 |
|
attribute { |
15068 |
|
node-name: 'xml:id'; |
15069 |
|
value: ' idv '; |
15070 |
|
schema-type-info: TypeInfo (null, null); |
15071 |
|
specified: true; |
15072 |
|
} |
15073 |
|
} |
15074 |
|
} |
15075 |
|
@@XMLTest: |
15076 |
@@@QName: xp.xmlid.attrdef.test |
@@@QName: xp.xmlid.attrdef.test |
15077 |
@@@DEnt: |
@@@DEnt: |
15078 |
@@@@test:value: |
@@@@test:value: |
15080 |
<!ATTLIST p xml:id ID #IMPLIED> |
<!ATTLIST p xml:id ID #IMPLIED> |
15081 |
]> |
]> |
15082 |
<p/> |
<p/> |
15083 |
|
@@@cfg:xml-id: 1 |
15084 |
|
@@@test:domTree: |
15085 |
|
document { |
15086 |
|
document-type { |
15087 |
|
element-type-definition { |
15088 |
|
node-name: 'p'; |
15089 |
|
attribute-definition { |
15090 |
|
node-name: 'xml:id'; |
15091 |
|
declared-type: const (ID_ATTR); |
15092 |
|
default-type: const (IMPLIED_DEFAULT); |
15093 |
|
} |
15094 |
|
} |
15095 |
|
} |
15096 |
|
element { } |
15097 |
|
} |
15098 |
|
@@XMLTest: |
15099 |
|
@@@QName: xp.xmlid.attrdef.disabled.test |
15100 |
|
@@@DEnt: |
15101 |
|
@@@@test:value: |
15102 |
|
<!DOCTYPE p [ |
15103 |
|
<!ATTLIST p xml:id ID #IMPLIED> |
15104 |
|
]> |
15105 |
|
<p/> |
15106 |
|
@@@cfg:xml-id: 0 |
15107 |
@@@test:domTree: |
@@@test:domTree: |
15108 |
document { |
document { |
15109 |
document-type { |
document-type { |
15126 |
<!ATTLIST p xml:id ID "idv"><!-- invalid --> |
<!ATTLIST p xml:id ID "idv"><!-- invalid --> |
15127 |
]> |
]> |
15128 |
<p/> |
<p/> |
15129 |
|
@@@cfg:xml-id: 1 |
15130 |
|
@@@test:domTree: |
15131 |
|
document { |
15132 |
|
document-type { |
15133 |
|
element-type-definition { |
15134 |
|
node-name: 'p'; |
15135 |
|
attribute-definition { |
15136 |
|
node-name: 'xml:id'; |
15137 |
|
declared-type: const (ID_ATTR); |
15138 |
|
default-type: const (EXPLICIT_DEFAULT); |
15139 |
|
node-value: 'idv'; |
15140 |
|
} |
15141 |
|
} |
15142 |
|
} |
15143 |
|
element { |
15144 |
|
attribute { |
15145 |
|
node-name: 'xml:id'; |
15146 |
|
schema-type-info: TypeInfo ('http://www.w3.org/TR/REC-xml', |
15147 |
|
'ID'); |
15148 |
|
value: 'idv'; |
15149 |
|
specified: false; |
15150 |
|
} |
15151 |
|
} |
15152 |
|
} |
15153 |
|
@@XMLTest: |
15154 |
|
@@@QName: xp.xmlid.attrdef.defaultattr.disabled.test |
15155 |
|
@@@DEnt: |
15156 |
|
@@@@test:value: |
15157 |
|
<!DOCTYPE p [ |
15158 |
|
<!ATTLIST p xml:id ID "idv"><!-- invalid --> |
15159 |
|
]> |
15160 |
|
<p/> |
15161 |
|
@@@cfg:xml-id: 0 |
15162 |
@@@test:domTree: |
@@@test:domTree: |
15163 |
document { |
document { |
15164 |
document-type { |
document-type { |
15183 |
} |
} |
15184 |
} |
} |
15185 |
|
|
15186 |
|
@@XMLTest: |
15187 |
|
@@@QName: xp.general.entity.unused.1.test |
15188 |
|
@@@DEnt: |
15189 |
|
@@@@test:value: |
15190 |
|
<!DOCTYPE p [ |
15191 |
|
<!ENTITY mylt "<"> |
15192 |
|
]> |
15193 |
|
<p/> |
15194 |
|
@@@cfg:entity-replacement-tree: 0 |
15195 |
|
@@@test:domTree: |
15196 |
|
document { |
15197 |
|
document-type { |
15198 |
|
general-entity { |
15199 |
|
node-name: 'mylt'; |
15200 |
|
} |
15201 |
|
} |
15202 |
|
element { } |
15203 |
|
} |
15204 |
|
@@XMLTest: |
15205 |
|
@@@QName: xp.general.entity.unused.2.test |
15206 |
|
@@@DEnt: |
15207 |
|
@@@@test:value: |
15208 |
|
<!DOCTYPE p [ |
15209 |
|
<!ENTITY mylt "<"> |
15210 |
|
]> |
15211 |
|
<p/> |
15212 |
|
@@@cfg:entity-replacement-tree: 1 |
15213 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 1)..(1, 2); } |
15214 |
|
|
15215 |
@@PerlDef: |
@@PerlDef: |
15216 |
my $impl = $Message::DOM::ImplementationRegistry->get_implementation ({ |
my $impl = $Message::DOM::ImplementationRegistry->get_implementation ({ |
15217 |
'Core' => '3.0', |
'Core' => '3.0', |
15218 |
'XML' => '3.0', |
'XML' => '3.0', |
15219 |
'XMLVersion' => ['1.0', '1.1'], |
'XMLVersion' => ['1.0', '1.1'], |
15220 |
}); |
}); |
|
my $parser = <Class::ManakaiXMLParser>->new ($impl); |
|
15221 |
|
|
15222 |
for my $test_data (@$TestData) { |
for my $test_data (@$TestData) { |
15223 |
|
my $parser = <Class::ManakaiXMLParser>->new ($impl); |
15224 |
|
|
15225 |
$test->start_new_test ($test_data->{uri}); |
$test->start_new_test ($test_data->{uri}); |
15226 |
my $doc_ent = $test_data->{entity}->{$test_data->{root_uri}}; |
my $doc_ent = $test_data->{entity}->{$test_data->{root_uri}}; |
15227 |
my $not_ok; |
my $not_ok; |
15228 |
|
|
15229 |
$parser->dom_config->set_parameter ('error-handler' => sub ($$) { |
## -- DOM Configuration Parameters |
15230 |
|
|
15231 |
|
my $pcfg = $parser->dom_config; |
15232 |
|
for (keys %{$test_data->{dom_config}}) { |
15233 |
|
$pcfg->set_parameter ($_ => $test_data->{dom_config}->{$_}); |
15234 |
|
} |
15235 |
|
|
15236 |
|
$pcfg->set_parameter ('error-handler' => sub ($$) { |
15237 |
my (undef, $err) = @_; |
my (undef, $err) = @_; |
15238 |
my $err_type = $err->type; |
my $err_type = $err->type; |
15239 |
if ($test_data->{dom_error}->{$err_type}) { |
if ($test_data->{dom_error}->{$err_type}) { |
15251 |
return true; # continue as far as possible |
return true; # continue as far as possible |
15252 |
}); |
}); |
15253 |
|
|
15254 |
|
## -- Input Data |
15255 |
|
|
15256 |
my $input = {string_data => \$doc_ent->{<Q::test:value>}, |
my $input = {string_data => \$doc_ent->{<Q::test:value>}, |
15257 |
system_id => $doc_ent->{<Q::test:uri>}, |
system_id => $doc_ent->{<Q::test:uri>}, |
15258 |
base_uri => $doc_ent->{<Q::test:baseURI>}}; |
base_uri => $doc_ent->{<Q::test:baseURI>}}; |
15259 |
|
|
15260 |
|
## -- Test and Result |
15261 |
|
|
15262 |
if ($test_data->{dom_tree}) { # Successful test |
if ($test_data->{dom_tree}) { # Successful test |
15263 |
my $doc; |
my $doc; |
15264 |
try { |
try { |
16365 |
@@subsetOf: |
@@subsetOf: |
16366 |
@@@@: c|anyDOMConfigurationParameter |
@@@@: c|anyDOMConfigurationParameter |
16367 |
@@@For: =ManakaiDOM|all |
@@@For: =ManakaiDOM|all |
16368 |
|
@@multipleProperties: |
16369 |
|
@@@@: DISCore|Single |
16370 |
|
@@@For: =ManakaiDOM|all |
16371 |
|
|
16372 |
ElementTypeBinding: |
ElementTypeBinding: |
16373 |
@Name: CParamApp |
@Name: CParamApp |
16379 |
@@@For: ManakaiDOM|DOM |
@@@For: ManakaiDOM|DOM |
16380 |
@@For: ManakaiDOM|DOM3 |
@@For: ManakaiDOM|DOM3 |
16381 |
|
|
16382 |
|
ElementTypeBinding: |
16383 |
|
@Name: boolCParam |
16384 |
|
@ElementType: |
16385 |
|
dis:ResourceDef |
16386 |
|
@ShadowContent: |
16387 |
|
@@DISCore:resourceType: |
16388 |
|
@@@@: c|DOMConfigurationParameter |
16389 |
|
@@@For: ManakaiDOM|DOM |
16390 |
|
@@DISCore:resourceType: |
16391 |
|
@@@@: DISSource|ResourceProperty |
16392 |
|
@@@For: =ManakaiDOM|all |
16393 |
|
@@For: ManakaiDOM|DOM3 |
16394 |
|
@@For: =ManakaiDOM|all |
16395 |
|
@@Type: idl|boolean||ManakaiDOM|all |
16396 |
|
@@subsetOf: |
16397 |
|
@@@@: c|anyDOMConfigurationParameter |
16398 |
|
@@@For: =ManakaiDOM|all |
16399 |
|
@@multipleProperties: |
16400 |
|
@@@@: DISCore|Single |
16401 |
|
@@@For: =ManakaiDOM|all |
16402 |
|
@@dataType: |
16403 |
|
@@@@: DISCore|Boolean |
16404 |
|
@@@For: =ManakaiDOM|all |
16405 |
|
|
16406 |
CParamApp: |
CParamApp: |
16407 |
@QName: xml-id |
@QName: xml-id |
16408 |
@c:domConfigurationParameter: cfg|xml-id |
@c:domConfigurationParameter: cfg|xml-id |
16409 |
@c:targetType: xp|ManakaiXMLParser |
@c:targetType: xp|ManakaiXMLParser |
16410 |
|
@TrueCase: |
16411 |
|
@@c:isSupported: 1 |
16412 |
|
@FalseCase: |
16413 |
|
@@c:isSupported: 1 |
16414 |
|
|
16415 |
CParamApp: |
CParamApp: |
16416 |
@QName: error-handler |
@QName: error-handler |
16417 |
@c:domConfigurationParameter: c|error-handler |
@c:domConfigurationParameter: c|error-handler |
16418 |
@c:targetType: xp|ManakaiXMLParser |
@c:targetType: xp|ManakaiXMLParser |
16419 |
|
|
16420 |
|
boolCParam: |
16421 |
|
@QName: cfg|entity-replacement-tree |
16422 |
|
@DOMLS:lsKey: |
16423 |
|
@@@: erep |
16424 |
|
@@For: =ManakaiDOM|all |
16425 |
|
@Type: idl|boolean||ManakaiDOM|all |
16426 |
|
@c:targetType: xp|ManakaiXMLParser |
16427 |
|
@IsSupportRequired: 1 |
16428 |
|
@c:isSupported: 1 |
16429 |
|
@TrueCase: |
16430 |
|
@@c:isSupported: 1 |
16431 |
|
@@enDesc: |
16432 |
|
The parser <kwd:MUST> cnstruct the replacement subtree of |
16433 |
|
a general parsed <IF::x|Entity> node if the replacement text |
16434 |
|
for the node is available. |
16435 |
|
|
16436 |
|
If this value is set to the parameter, then a fatal error |
16437 |
|
might be reported even if the entire document is well-formed |
16438 |
|
in case a general parsed entity has replacement text that is |
16439 |
|
not well-formed when evaluated as if it has been referenced |
16440 |
|
in the content of an element, except that undeclared namespace prefixes |
16441 |
|
do not result in namespace well-formedness error. |
16442 |
|
@FalseCase: |
16443 |
|
@@IsDefault: 1 |
16444 |
|
@@c:isSupported: 1 |
16445 |
|
@@IsSupportRequired: 1 |
16446 |
|
@@enDesc: |
16447 |
|
The parser don't have to construct <IF::x|Entity> replacement |
16448 |
|
subtrees. |
16449 |
|
|
16450 |
|
@Test: |
16451 |
|
@@QName: cfg.entity-replacement-tree.test |
16452 |
|
@@PerlDef: |
16453 |
|
my $xp; |
16454 |
|
__CODE{createParserForTest:: $xp => $xp}__; |
16455 |
|
my $cfg = $xp-><AG::LSInput.domConfig>; |
16456 |
|
|
16457 |
|
my $pname = <Q::cfg|entity-replacement-tree>; |
16458 |
|
|
16459 |
|
$test->id ('default.false'); |
16460 |
|
$test->assert_false ($cfg-><M::c|DOMConfiguration.getParameter> ($pname)); |
16461 |
|
|
16462 |
|
$test->id ('false.to.true'); |
16463 |
|
$cfg-><M::c|DOMConfiguration.setParameter> ($pname => true); |
16464 |
|
$test->assert_false ($cfg-><M::c|DOMConfiguration.getParameter> ($pname)); |
16465 |
|
|
16466 |
|
$test->id ('true.to.false'); |
16467 |
|
$cfg-><M::c|DOMConfiguration.setParameter> ($pname => false); |
16468 |
|
$test->assert_false ($cfg-><M::c|DOMConfiguration.getParameter> ($pname)); |
16469 |
|
|
16470 |
|
$test->id ('reset'); |
16471 |
|
$cfg-><M::c|DOMConfiguration.setParameter> ($pname => true); |
16472 |
|
$cfg-><M::c|DOMConfiguration.setParameter> ($pname => null); |
16473 |
|
$test->assert_false ($cfg-><M::c|DOMConfiguration.getParameter> ($pname)); |
16474 |
|
|
16475 |
CParam: |
CParam: |
16476 |
@QName: xp|ls-input-to-input-file |
@QName: xp|ls-input-to-input-file |
16477 |
@DOMLS:lsKey: |
@DOMLS:lsKey: |