Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355432

Summary: Dtd parser error
Product: z_Archived Reporter: Ling Hao <ling.hao>
Component: SapphireAssignee: Ling Hao <ling.hao>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: konstantin, ling.hao, ram.venkataswamy
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
cache-config.dtd none

Description Ling Hao CLA 2011-08-22 15:57:17 EDT
Created attachment 201953 [details]
cache-config.dtd

Use the attached cache-config.dtd 
Add the following to see the output:
        final XmlDocumentSchema schema2 = DtdParser.parseFromString( loadResource( "cache-config.dtd" ) );
        System.out.println(schema2.toString());

Notice that caching-schemes = choice [1:-1] is missing 6 schemes from standalone-caching-scheme. 

Ram's bug Bug 12898040 and Bug 12898156
Comment 1 Konstantin Komissarchik CLA 2011-08-22 19:30:34 EDT
Please look into this.
Comment 2 Ling Hao CLA 2011-08-23 17:42:10 EDT
This is caused by nested %entity-name;. Needed multiple passes at entity string substitution. Now it makes sense insertion order works for me, but not Ram.
Comment 3 Konstantin Komissarchik CLA 2011-08-23 19:31:49 EDT
Make sure not to forget to merge to 0.4 stream.
Comment 4 Ram Venkataswamy CLA 2011-08-26 21:02:17 EDT
verified
Comment 5 Konstantin Komissarchik CLA 2011-08-27 21:45:37 EDT
Closed.