php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #11189 domxml: No external DTD-Validation
Submitted: 2001-05-30 05:18 UTC Modified: 2002-12-07 09:28 UTC
From: stefan at digiconcept dot net Assigned:
Status: No Feedback Package: Feature/Change Request
PHP Version: 4.0.5 OS: Win NT 4.0 / SP 6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: stefan at digiconcept dot net
New email:
PHP Version: OS:

 

 [2001-05-30 05:18 UTC] stefan at digiconcept dot net
Hi!

I've tried the DOM-functions asn was verry happy. First.
'Everything' was right and fast . Wow.

But ...
 it seems as the xmldocfile-function does not really validate with a given external dtd and because of system desigfn reasons, i cannot inlude the dtd within the xml-file. 
Example: I've optional attributes with default values. If not given, they should be insertet automaticly as described in my DTD, but they are not set.

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE NA_FUNCTION_DESCRIPT SYSTEM "na_function_def.dtd">
 .....

The xml-file and the DTD are validated by XML-Spy 3.5 and okay. XMP-Spy and IExplorer displays all correct.

Hmm... any ideas ?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-29 06:48 UTC] mfischer@php.net
Marking this as a feature request.
 [2002-11-30 09:13 UTC] chregu@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

Please try with a more recent version and with 
DOMXML_LOAD_COMPLETE_ATTRS as second attribute in domxml_open_file

chregu
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 08:01:32 2024 UTC