Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1387

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1387
    Summary: Merge files with <?xml header, generate invalid resulting XML
       Type: Bug

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
   Versions:
             1.2.3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Darryl Miles

    Created: Sat, 7 May 2005 12:28 AM
    Updated: Sat, 7 May 2005 12:28 AM
Environment: Linux Java5

Description:
I think XDOCLET should allow use of the standard XML header line (if one 
exists) :

<?xml version="1.0" encoding="UTF-8"?>

within merge source files. However when it goes to EMIT the fragment into a 
final output file it should remove it (since the final output template will 
have its own processing instruction details anyway).

This allows the source files to be correctly identified as well-formed XML 
document without any DTD.

It still should accept XML files without <?xml header lines, just like now.

I presume (hope) that XDOCLET is checking the XML is well-formed even if it 
would never understand the DTDs.  A basic well-formed document check would go a 
long way to fixing documents during the development phase rather than tearing 
our hair out over trivial typos that only get spotted after deployment testing.



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to