Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
parent
c648dedbde
commit
97b8365caf
17478 changed files with 606493 additions and 100744 deletions
|
@ -664,12 +664,10 @@ public class XMLStreamWriterImpl
|
|||
public void writeDTD(String dtd)
|
||||
throws XMLStreamException
|
||||
{
|
||||
// Really thoroughly pointless method...
|
||||
try
|
||||
{
|
||||
if (!isName(dtd))
|
||||
throw new IllegalArgumentException("illegal Name: " + dtd);
|
||||
|
||||
// XXX: Should we parse the doctypedecl at this point to ensure
|
||||
// wellformedness?
|
||||
writer.write("<!DOCTYPE ");
|
||||
writer.write(dtd);
|
||||
writer.write('>');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue