Issue Details (XML | Word | Printable)

Key: DOXIA-310
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vincent Siveton
Reporter: Malachi de AElfweald
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven Doxia

Unable to get custom entity references to work

Created: 30/Apr/09 08:59 PM   Updated: 05/May/09 03:26 AM   Resolved: 04/May/09 07:18 AM
Return to search
Component/s: Core
Affects Version/s: 1.1
Fix Version/s: 1.1.1

Time Tracking:
Not Specified

File Attachments: 1. File testcase.tgz (20 kB)

Environment: maven-site-plugin 2.1-SNAPSHOT w/ XDOC
Issue Links:
Related
 

Testcase included: yes


 Description  « Hide

followed these instructions:
http://svn.apache.org/viewvc/maven/doxia/site/src/site/fml/faq.fml?annotate=739143&pathrev=739143

to include these entity references:
http://kallisti.eoti.org/ambrosia/kallisti/trit.ent

included test case has 3 different examples:
1. using the character references defined in the trit.ent. Character references were removed from the table during site:site
2. using the character references by number. Character references were replaced with '?' during site:site
3. copied site generated test2 and added the character references in by hand. That is the only one that works.



Malachi de AElfweald added a comment - 30/Apr/09 10:03 PM

This should not be 'major' priority. Sorry, forgot to set that.


Lukas Theussl added a comment - 01/May/09 07:17 AM

There must be something wrong with the regex pattern used to parse the entities. I checked that with the following local declarations

<!ENTITY tritPos     "&#x1d7ed;"> <!-- MATHEMATICAL SANS-SERIF BOLD DIGIT ONE -->
<!ENTITY tritNeg     "&#x1d7d9;"> <!-- MATHEMATICAL DOUBLE-STRUCK DIGIT ONE -->
<!ENTITY tritNeu     "&#x1d7f6;"> <!-- MATHEMATICAL MONOSPACE DIGIT ZERO -->
<!ENTITY MyAlpha     "&#913;"> <!-- greek capital letter alpha, U+0391 -->

only MyAlpha gets added to the list of entities in addDTDEntities of AbstractXmlParser.


Vincent Siveton added a comment - 04/May/09 07:18 AM

allow pattern to accept 5 chars, snapshot redeployed.


Vincent Siveton made changes - 04/May/09 07:18 AM
Field Original Value New Value
Assignee Vincent Siveton [ siveton ]
Resolution Fixed [ 1 ]
Fix Version/s 1.1.1 [ 15073 ]
Status Open [ 1 ] Closed [ 6 ]
Malachi de AElfweald added a comment - 04/May/09 10:34 AM

verified that customized entity names work now


Lukas Theussl made changes - 05/May/09 03:01 AM
Affects Version/s 1.1.1 [ 15073 ]
Affects Version/s 1.1 [ 13617 ]
Lukas Theussl made changes - 05/May/09 03:26 AM
Link This issue relates to DOXIA-314 [ DOXIA-314 ]