BUG : msxml 1.6

Chris Lovett clovett at microsoft.com
Fri Dec 12 04:32:56 GMT 1997


<WOOPS>
	You're right.  I'll look into it.
</WOOPS>

> -----Original Message-----
> From:	Patrice Bonhomme [SMTP:Patrice.Bonhomme at loria.fr]
> Sent:	Thursday, December 11, 1997 10:01 AM
> To:	Chris Lovett
> Cc:	xml-dev Mailing List
> Subject:	Re: BUG : msxml 1.6 
> 
> <?Hi !>
> 
> I have downloaded msxml 1.8 and tried to run it on my sample files and it 
> seems that the EXTENTITYDCL has not been fixed.  I have always a
> "stammering" 
> inclusion of the external data !
> 
> What's wrong ?
> 
> Thanks,
> 
> Pat.
> 
> DOCUMENT
> |---XMLDECL 
> |   +---CDATA " VERSION="1.0" "
> |---WHITESPACE 0xa
> |---DOCTYPE  NAME="EXAMPLE"
> |   |---WHITESPACE 0xa
> |   |---ELEMENTDECL EXAMPLE (P)+
> |   |---WHITESPACE 0xa
> |   |---ELEMENTDECL P (#PCDATA|S)*
> |   |---WHITESPACE 0xa
> |   |---ELEMENTDECL S (#PCDATA)*
> |   |---WHITESPACE 0xa
> |   +---EXTENTITYDCL incs
> |       |---ELEMENT S
> |       |   +---PCDATA "a third."
> |       +---PCDATA "a third. "        <--- HERE
> |---WHITESPACE 0xa
> |---ELEMENT EXAMPLE
> |   |---WHITESPACE 0xa
> |   |---ELEMENT P
> |   |   |---ELEMENT S
> |   |   |   +---PCDATA "A sentence."
> |   |   |---ELEMENT S
> |   |   |   +---PCDATA "An another."
> |   |   +---ENTITYREF incs "a third.a third. " <--- AND HERE
> |   +---WHITESPACE 0xa
> +---WHITESPACE 0xa
> 
> 
> [] Chris Lovett said:
> []---------------------------------
>  ] Thanks, I have a fix already, and will be posting it shortly.
>  ] 
>  ] > -----Original Message-----
>  ] > From:	Patrice Bonhomme [SMTP:Patrice.Bonhomme at loria.fr]
>  ] > Sent:	Saturday, November 29, 1997 1:37 AM
>  ] > To:	Chris Lovett
>  ] > Subject:	BUG : msxml 1.6
>  ] > 
>  ] > 
>  ] > Hi, 
>  ] > 
>  ] > I found a bug in msxml 1.6 relative to the External Entity checking.
>  ] > 
>  ] > Main file (test-ent.xml):
>  ] > <?XML VERSION="1.0" ?>
>  ] > <!DOCTYPE TEI.2 [
>  ] > <!ELEMENT TEI.2 (P+)>
>  ] > <!ELEMENT P     (S+)>
>  ] > <!ELEMENT S     (#PCDATA)>
>  ] > <!ATTLIST S     ID ID #IMPLIED>
>  ] > <!ENTITY eacute  "&#233;" ><!-- small e, acute accent -->
>  ] > <!ENTITY inc-s SYSTEM "inc-s.xml">
>  ] > ]>
>  ] > <TEI.2>
>  ] > <P>
>  ] > <S ID="s1">a sentence.</S><S ID="s2">an another.</S>
>  ] > </P>
>  ] > <P>&inc-s;</P>
>  ] > </TEI.2>
>  ] > 
>  ] > Auxiliary file (inc-s.xml):
>  ] > <S ID="s3">a third.</S>
>  ] > 
>  ] > And i ve got this message : 
>  ] > 
>  ] > % java msxml -i -d test-ext-ent.xml
>  ] > Invalid element 'PCDATA' in content of 'P'.  Expected [S]
>  ] > Location: file:test-ext-ent.xml(14,5)
>  ] > Context: <TEI.2><P>
>  ] > 
>  ] > The parser should make a difference between ENTITYREF and SYSTEM
>  ] > ENTITYREF.
>  ] > 
>  ] > Pat.
>  ] > -- 
>  ] >   ==============================================================
>  ] >   bonhomme at loria.fr               |      Office : B.228
>  ] >   http://www.loria.fr/~bonhomme   |      Phone  : 03 83 59 20 37
>  ] >   --------------------------------------------------------------
>  ] >    * Projet Aquarelle : http://aqua.inria.fr
>  ] >    * Serveur Silfide  : http://www.loria.fr/Projet/Silfide
>  ] >   ==============================================================
>  ] > 
> []---------------------------------
> 
> 
> -- 
>   ==============================================================
>   bonhomme at loria.fr               |      Office : B.228
>   http://www.loria.fr/~bonhomme   |      Phone  : 03 83 59 20 37
>   --------------------------------------------------------------
>    * Projet Aquarelle : http://aqua.inria.fr
>    * Serveur Silfide  : http://www.loria.fr/Projet/Silfide
>   ==============================================================
> 
> 
> 
> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
> To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
> (un)subscribe xml-dev
> To subscribe to the digests, mailto:majordomo at ic.ac.uk the following
> message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list