This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: parsing and translating xml:lang attribute


Matt,

I had the same problem as you with the xml:lang attribute. I believe that it
was a bug in one of the versions of Xalan. I am now running Xalan 1.2 and no
longer see the problem, although my xml has not changed.

>I have an example XML file conforming to this DTD, which has an instance of
>this tag as follows:
>
> <Language xml:lang="ge"/>
>
>but Xalan complains while parsing and produces the following error message:
>
> Parser error: Attribute "xml:lang" is required and must be specified for
> element type "Language"
>
>I have no clue why the XML is not parsed correctly. Any takers?

I would suggest grabbing the latest released version of Xalan and trying that.

Unfortunately I cant help you with the second issue. Perhaps someone else can.

Richard.

-----------------------------------------------------------------
        Visit our Internet site at http://www.reuters.com

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]