This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 65929 - [50cat] Create new XML document -> DTD-Constrained
Summary: [50cat] Create new XML document -> DTD-Constrained
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-05 08:38 UTC by xmart
Modified: 2007-02-16 14:50 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xmart 2005-10-05 08:38:47 UTC
[ BUILD # : 200509261930 ]
[ JDK VERSION : 1.5.0_04 ]

When I want to create a DTD constrained document, all is fine, except of DTD url which is included in XMLs <!DOCTYPE>
Example:
<!DOCTYPE taglib PUBLIC '-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN' 'null'>

Why null???

I created an OASIS resolver xml:
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
         "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">

<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">                
 <public publicId="-//SPRING//DTD BEAN//EN"
uri="http://www.springframework.org/dtd/spring-beans.dtd"/>
 <uri name="http://www.springframework.org/dtd/spring-beans.dtd" 
uri="file:/D|/Soft/Development/Libraries/Java/DTDs/spring-beans.dtd"/>
</catalog>
------------------------

In which I used global uri for resolution (<public>) and local one as an alias (<uri>).
Why not to use <public> one in <!DOCTYPE>.
Comment 1 Milan Kuchtiak 2005-11-21 16:50:55 UTC
This is a reasonable improvement, but it looks more like an enhancement.
Comment 2 Jaroslav Pospisil 2006-03-13 13:35:27 UTC
TM 5.0->TBD
Comment 3 Marek Fukala 2007-02-16 14:48:56 UTC
Reassigning to default owner of selected subcomponent. New owners are gladly
welcomed.
Comment 4 Marek Fukala 2007-02-16 14:50:49 UTC
Reassigning to default owner of selected subcomponent. New owners are gladly
welcomed.