Hussein Shafie wrote:
> Stephane Mottelet wrote:
> 
>> Stephane Mottelet wrote:
>>  >
>>  > Hi !
>>  >
>>  > Why, in 2.6, is it no possible to choose another behavior than
>>  > the "heuristic choice" which inserts arbitrary sub-elements when
>>  > inserting a new element ?
>>  >
>>  > Thanks for help
>>  >
>>  > S.
>>  >
>>  >
>>
>> Moreover, adding the following element
>>
>>
>>    <newElementContent addChildElements="none"/>
>>
>> in configuration.xxe in config/configuration does not seem
>> to help either.
> 
> 
> This option works as expected but may be useful only for a few XML data

No. I have attached to this e-mail my configuration file.

it does not work.;  XXE still inserts some child elements. Moreover,
changing the order of declaration in the DTD does not change the type
of the element which is automatically inserted.

On my Linux Workstation, XXE 2.6p1, RedHat 8.0, java version :

java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)


S.

-- 
e-mail : Stephane.Mottelet at utc.fr
www : http://www.dma.utc.fr/~mottelet
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configuration.xxe
Url: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040706/c807dfde/attachment.bat
 

Reply via email to