Wrong DOCTYPE format (?)
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 4
- Joined: Fri Jul 02, 2004 9:47 am
Wrong DOCTYPE format (?)
Hi,
when I start a new xml-file and attach a dtd via the function associate schema, choose dtd and open file (and choose a file),
I got one line included in my document like this:
This causes problems with other programs, since it's not the correct format for a file-resource (in my opinion).
It should say either
or
I tested it with version 4.0 (linux) and 4.1 (windows). The windows version makes no difference. The result there is
(not sure about the colon by now, ´cos I dont have a windows-machine here)
I would call it a bug.
Greetings
Kassi
when I start a new xml-file and attach a dtd via the function associate schema, choose dtd and open file (and choose a file),
I got one line included in my document like this:
Code: Select all
<!DOCTYPE xupdate:modifications SYSTEM "file:/path/to/my.dtd">
It should say either
Code: Select all
<!DOCTYPE xupdate:modifications SYSTEM "file:///path/to/my.dtd">
Code: Select all
<!DOCTYPE xupdate:modifications SYSTEM "/path/to/my.dtd">
Code: Select all
<!DOCTYPE xupdate:modifications SYSTEM "file:/C:/path/to/my.dtd">
I would call it a bug.
Greetings
Kassi
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Dear Kassi,
The form added by oXygen is correct.
If you look up in the XML specification [1] the system identifier definition [2] you will see that it refers to an URI.
Following to the URI RFC 2369 [3] you can see in page 27 the BNF for URI. I will add below part of the productions that allow the form entered by oXygen:
[2] http://www.w3.org/TR/2004/REC-xml-20040 ... ternal-ent
[3] http://www.ietf.org/rfc/rfc2396.txt
Best Regards,
George
The form added by oXygen is correct.
If you look up in the XML specification [1] the system identifier definition [2] you will see that it refers to an URI.
Following to the URI RFC 2369 [3] you can see in page 27 the BNF for URI. I will add below part of the productions that allow the form entered by oXygen:
[1] http://www.w3.org/TR/2004/REC-xml-20040204/URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]
absoluteURI = scheme ":" ( hier_part | opaque_part )
hier_part = ( net_path | abs_path ) [ "?" query ]
abs_path = "/" path_segments
path_segments = segment *( "/" segment )
[2] http://www.w3.org/TR/2004/REC-xml-20040 ... ternal-ent
[3] http://www.ietf.org/rfc/rfc2396.txt
Best Regards,
George
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service