[ 
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1049?page=comments#action_17623
 ] 

Andrew Stevens commented on XDT-1049:
-------------------------------------

Heiko said
>New merge files have been named ".ent".

Strictly speaking, it's only ones which aren't well-formed (because of the 
multiple root elements) that are .ent, .xml is still okay for the rest.

Darryl asked
>Why .ent ??

Because it's an external unparsed entity, and that's default extension that 
Netbeans (and XMLSpy too, I think) uses for that type of file.


> merge files have .xml extension but are not legal xml (multiple root 
> elements) and cause errors in our projects
> ---------------------------------------------------------------------------------------------------------------
>
>          Key: XDT-1049
>          URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1049
>      Project: XDoclet
>         Type: Improvement

>     Versions: 1.2
>  Environment: WinXP Pro, Eclipse 3.0, MyEclipse 3.7
>     Reporter: Brett Connor
>     Assignee: xdoclet-devel (Use for new issues)
>     Priority: Minor

>
>
> I am using merge files for various parts of a project, including reference to 
> ejbs, JBoss specifics. The merge files currently in use are:
> jbossweb-ejb-ref.xml
> listeners.xml
> servlet-mappings.xml
> servlets.xml
> taglibs.xml
> web-ejbrefs.xml
> Some of these have more than one entry, eg. taglibs, web-ejbrefs. The files 
> are therefore not legal xml because they have multiple root elements. Because 
> the merge file names are forced to be .xml however the IDEs validate them and 
> the resulting errors are poluting the error lists . Can these filenames be 
> changed to something indicating that they are a fragment, or any other 
> solution (eg wrap the fragments in another element eg. 
> <taglibs><taglib>...</taglib></taglibs> although this is probably more work 
> than it's worth, these are all unparsed entities IIRC).
> While this is minor, it does sadly jeopardise our use of xdoclet for this 
> part of the project.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to