kde-features.xml

Marc Mutz mutz at kde.org
Tue Oct 14 17:41:14 BST 2003


Hi Cornelius, all,

I wondered whether the PHP script uses a validating XML parser so that 
we can save some time typing by using entity declarations in the 
internal subset of the DTD. xmllint doesn't complain, but then it's 
obviously validating. XML parsers (even non-validating) are required to 
interpret the internal subset, however existing parsers perform poorly 
in this regard...

I'm talking about

<!DOCTYPE features SYSTEM "kde-features.dtd" [
  <!ENTITY marcmutz '<responsible name="Marc Mutz"
                                  email="mutz at kde.org"/>'>
  <!ENTITY coolo '<responsible name="Stphan Kulow"
                               email="coolo at kde.org"/>'>
  <!-- ... -->
]>

and then
s/<responsible name="Stephan Kulow" [^>]*>/&coolo;/g;

Would be nice for consistency and faster typing. :-)

Marc

-- 
If privacy is outlawed, only outlaws will have privacy.
                                                    -- Phil Zimmermann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031014/655a9340/attachment.sig>


More information about the kde-core-devel mailing list