Lists Home |
Date Index |
if it works in Xerces but not with MSXML I unfortunately
can't help. No, I don't know of any workarounds. The only
reason I'm writing you is because I would hate to see this
become your reason to not use the M12N. Can't you just
use a real XML parser ;-)?
Perhaps the ongoing work on M12N in XML Schema may
solve this problem once for all in the future, since the HTML
WG had to do a lot of tricks with DTDs to make the M12N
happen in the first place. With XML Schema, M12N seems
to be more straight-forward .
Von: MAISONNY Benoit
Gesendet: Fr 28.06.2002 14:08
An: 'firstname.lastname@example.org'; 'email@example.com'
Betreff: [xml-dev] XHTML modularisation causes strange error
I wrote a DTD for a type of aeronautical document, using XHTML
Modularisation. This worked fine until I tried to validate the
sample documents with MSXML4 SP1 (and earlier). Needless to say
validate with Xerces and ElCel's xmlvalid (and even with XMLSpy,
adding a space into empty parameter entities).
I found some messages on xml-dev and www-html related to
MSXML in the
context of XHTML m12n and 1.1, but I can't find any
the following error message (output by xmlint.exe, Microsoft's
A name was started with an invalid character.
Line 00001: &&
Pos 00002: -^
As you can expect, that file begins with <?xml ... and not with
A page on microsoft.com explains this can be caused by
but it is not my case: I checked the files at byte level to be
are UTF-8). It doesn't seem to be an OS issue neither (same on
NT4 & win98).
I suppose it's a bug in MSXML and I won't wait for MS to correct
it for me
So my question is rather: what causes this error? Is there a
am not against a small change in the DTD that would magically
Should I give up XHTML m12n and instead adapt XHTML 1.0
extensively to suit
my needs? (not that I want to!)
Thanks for any help and sorry for cross-posting,
eAIP development & support
EUROCONTROL Aeronautical Information
The xml-dev list is sponsored by XML.org <http://www.xml.org>,
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription