Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355432 - Dtd parser error
Summary: Dtd parser error
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ling Hao CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 15:57 EDT by Ling Hao CLA
Modified: 2021-11-19 09:21 EST (History)
3 users (show)

See Also:


Attachments
cache-config.dtd (75.10 KB, application/octet-stream)
2011-08-22 15:57 EDT, Ling Hao CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.